[Plugin: W3 Total Cache] Cloudfront and theme files – question about versions
-
I am amazed by W3 Total Cache. What a plugin! I am hoping to roll it out on my site soon, in conjunction with a move of most of my static content to Amazon Cloudfront.
My question: I notice that W3 Total Cache can be set up to move active theme files & minified versions of CSS and JS files to Cloudfront. How does one update a theme once it’s been moved to Cloudfront?
I know that Cloudfront’s cache will expire a file after 24 hours and only then will it update the file. So, if I upload my new style.css or whatever global.js, it will be 24 hours until those changes are visible on the public site.
The workaround seems to be to create versions of your files; for example style.v13.css. I am curious to hear if anyone is doing this, and how they manage the process. What about template files? Does hosting your theme files on Cloudfront mean that all php template changes require 24 hours to propagate?
The topic ‘[Plugin: W3 Total Cache] Cloudfront and theme files – question about versions’ is closed to new replies.