• Resolved imtino

    (@imtino)


    Is it possible when we delete cache the new files get rename?

    I am having trouble with CDN cache on their network. I cannot purge it. So I think it’s will be great if Autoptimize rename files after delete cache. Is that possible?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    the filename can only change if the aggregated CSS or JS changes I’m afraid (the ‘random’ string in the filename is the md5 hash of the un-minified contents of the file). what you could to is add fake new CSS (e.g. a{b:c21121;}) to the customerizer -> additional CSS and fake new JS (e.g. <script>var a=1213Q;</script> to a text widget for example and change those each time you need new filenames?

    Thread Starter imtino

    (@imtino)

    So if I made changes to my css or js then the filename will change? Just want to be clear. And thank you for the idea.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    So if I made changes to my css or js then the filename will change?

    correct (assuming you don’t have a page cache that prevents AO from being triggered) ??

    Thread Starter imtino

    (@imtino)

    Thank you Frank

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome imtino, enjoy your Sunday ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Rename Files When Delete Cache’ is closed to new replies.