mirror of
https://github.com/flyimg/flyimg.git
synced 2026-04-25 01:35:56 +03:00
[GH-ISSUE #192] Question about clearing cache #84
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#84
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 @yoldar on GitHub (Sep 14, 2018).
Original GitHub issue: https://github.com/flyimg/flyimg/issues/192
Hi again :)
I'm using Flyimg as image optimizer for picture gallery. Original images are stored on other micro-service. When user opens image gallery, frontend app changes src of images to Flyimg service. As you can understand Flyimg do not used as original image storage. It used as image optimizer to minimize traffic which send to user.
My question is: Is it normal to periodically clean folders(/var/www/html/web/uploads and /var/www/html/var/tmp) items to free space and to not let container itself growth in volume?
P.s. I have binded that folder to host already
P.s.p.s. I mean "rm -rf" by for example crontab.
@sadok-f commented on GitHub (Sep 14, 2018):
Hi @yoldar !
You can of course clear up the 2 folders
var/tmpandweb/uploads, Flyimg has to fetch the original image again and generate a new requested one.