Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19300

nicjansma on "[Plugin: W3 Total Cache] Update to minified file names after content update"

$
0
0

Hi,

Thanks for W3TC, it's awesome.

I'm having a problem with my setup. I have Minify enabled for JS/CSS/etc, and am using CloudFront (origin-pull) CDN.

When I update the content of a CSS file, nothing about the file name seems to change. For example, the current URL of the minified CSS is:

http://cdn.blah.com/wp-content/cache/minify/000000/fYpJDoAgEAQ_BBl5Eo5tGIVAYFz4vRw8Gi-drko5uoqF5ZwSKmNQ40EVtDXSILzP-Tbuq9KA9N4Fqz-i_nXDFa8ySxTtZqITdWzTHvEA.css

However, if I make a change to one of the original files, this file name stays the same.

The problem is when using CloudFront as an origin-pull CDN, with expiry headers, CloudFront doesn't know the content has changed unless the file name changes. So content updates don't get propagated to users unless I do a CloudFront invalidation on that unique URL, which is silly.

I would expect the minified file name to change once any of their contents changes. Is this not the case? Is there any way to force the file name to change?

http://wordpress.org/extend/plugins/w3-total-cache/


Viewing all articles
Browse latest Browse all 19300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>