Feature Request: cache busting
-
Hello –
Loving and appreciating your plugin. Works fantastic and especially helpful to have the “Grouping” feature to crop all squares at once, all 3:2 at once, etc.
One thing we’re having trouble with is that new versions get stuck in the edge caching since they have the exact same URL as the old version. If you upload and the crop immediately it usually works, but if an image has been up and available publicly for a while and then you go back and revise the cropping, it can be stuck in the static file caching for a very long time. I wonder if there could be an option added when you execute the “save crop” action to either change the filename or add a cache busting url parameter after that.
So transform
/wp-content/uploads/2024/09/my-image-400x400.jpg
to/wp-content/uploads/2024/09/my-image-400x400_crop2.jpg
or else find a way to tag it on in the front end output, like/wp-content/uploads/2024/09/my-image-400x400.jpg?crop=v2
Maybe you’ve run into this before and have a suggestion on how we could accomplish it already with a small snippet?
Thanks for considering it.
- You must be logged in to reply to this topic.