mirror of
https://github.com/flyimg/flyimg.git
synced 2026-04-25 09:45:50 +03:00
[GH-ISSUE #375] Excuse me, how to clear the disk cache, or set the cache size expiration time. #154
Labels
No labels
Docs
Docs
Docs
Security
UnitTest
bug
dependencies
duplicate
enhancement
enhancement
enhancement
hacktoberfest
help wanted
invalid
pull-request
question
stale
version 1
version 2
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/flyimg#154
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @saicbs on GitHub (Oct 16, 2023).
Original GitHub issue: https://github.com/flyimg/flyimg/issues/375
Originally assigned to: @sadok-f on GitHub.
Or just output to the browser without caching to disk, I'm controlling the cache through things like Nginx.
@sadok-f commented on GitHub (Oct 16, 2023):
Hi @saicbs Thank you for opening this issue!
Currently Flyimg doesn't support this feature, it might be an option to disable caching to disk and serve directly the generated image.
is this what you're looking for? we could work on it for the next release.
@saicbs commented on GitHub (Oct 17, 2023):
Thank you for your response, yes, I need the feature to disable writing to the cache and directly output the image.
@sadok-f commented on GitHub (Oct 19, 2023):
Hi @saicbs,
a new option to disable the cache (writing generated images to disk) was released in the latest release https://github.com/flyimg/flyimg/releases/tag/1.2.3
in config/parameters.yml file you can edit the option
disable_cachetotruePlease test it out and let me know if it works as needed.