I have yet to find an elegant and reliable solution for cachebusting images. The Cachebuster plugin works great for CSS and JS files, so I was wondering if anybody had come up with a way to use similar methods for images. Ideally it would work with the kirbytext images tag, any template tags where ->url()
is used on an image to insert it, and any generated URLs to images using url('path/to/image')
(or that last one could be a new function like img('path/to/image')
perhaps since the url function can be used for things that aren’t images.
But really, I’d take any one of the above for starters.