Skip to content

Tag: filenames

Append cachebreaker to filenames of all images of a type

I’m able to identify all images of type (SVG) and append a cachebreaking date string in the console log. I’ve been looking at this solution, but it’s only for individual filenames, not multiple images: Any help appreciated. Answer Okay, here’s how it works, adding a cachebreaker to every SVG image in a page: Caveat is that this forces the