mirror of
https://github.com/flyimg/flyimg.git
synced 2026-04-25 09:45:50 +03:00
[GH-ISSUE #265] cache refresh #123
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#123
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 @rafipiccolo on GitHub (Dec 14, 2020).
Original GitHub issue: https://github.com/flyimg/flyimg/issues/265
What is the right way to deal with cache refresh ?
If i call this, it works, i get the image : https://www.myservice.io/upload/w_333,h_333,q_90/https://xxx/profile.jpg
But on my website, when a user uploads a new profile picture it just overwrites the one i already have.
And then if i call this same url i still get the old image, althougth the file has changed.
How can i get the new image to be generated ?
https://www.myservice.io/upload/w_333,h_333,q_90/https://xxx/profile.jpg?hash=xxxx
all of these methods work i guess, but the 1/4/5 should be the more efficient right ?
@rafipiccolo commented on GitHub (Dec 14, 2020):
maybe related to #261
@sadok-f commented on GitHub (Dec 14, 2020):
@rafipiccolo Thank you for submitting this issue.
I didn't work in Flyimg code base for a while, I need to get a closer look into it and check if I can add those options:
Last-ModifiedandETagThere's a refresh option to reload the image from the source again
r_1you add it to your url :https://www.myservice.io/upload/w_333,h_333,q_90,r_1/https://xxx/profile.jpg
@sadok-f commented on GitHub (Dec 28, 2020):
@rafipiccolo sorry I was referring to
rf_1option to refresh the original image.roption for rotating image 😄@sadok-f commented on GitHub (Oct 23, 2023):
Hi @rafipiccolo
I'm wondering if you still use Flyimg in your company/organisation ?
If so, it would be great if you could add your entry here in the Adoperts file
https://github.com/flyimg/flyimg/blob/main/ADOPTERS.md
many thanks!