[GH-ISSUE #375] Excuse me, how to clear the disk cache, or set the cache size expiration time. #154

Closed
opened 2026-02-25 22:34:28 +03:00 by kerem · 3 comments
Owner

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.

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.
kerem 2026-02-25 22:34:28 +03:00
Author
Owner

@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.

<!-- gh-comment-id:1765185965 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:1765756874 --> @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.
Author
Owner

@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_cache to true
Please test it out and let me know if it works as needed.

<!-- gh-comment-id:1771076458 --> @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_cache` to `true` Please test it out and let me know if it works as needed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flyimg#154
No description provided.