Title: [Plugin: W3 Total Cache] cloudfront with custom origin
Last modified: August 19, 2016

---

# [Plugin: W3 Total Cache] cloudfront with custom origin

 *  [Anthony Somerset](https://wordpress.org/support/users/anthonysomerset/)
 * (@anthonysomerset)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-cloudfront-with-custom-origin/)
 * thought i would post some feedback here to describe my results of trying to use
   cloudfront with custom origin
 * firstly i had to use w3-total cache in mirror mode as there is no longer any 
   need to upload files to s3, this worked perfectly
 * as i expected to be the case, using W3TC in mirror mode with cloudfront doesnt
   gzip content served from cloudfront, i’m guessing here that w3tc is going to 
   need a cloudfront mirror mode which also generates gzip versions of js and css(
   and txt based) files and updates relevant urls during the rewrite phase.
 * cloudfront doesnt read query strings (eg file.css?20101112)
 * this means if you use things like thesis and its css editor or even if you update
   plugins (and serve there files from cdn), you will have to invalidate the relevant
   files on the cdn manually if you make edits or updates to files that would get
   served from the cdn
 * otherwise, it seems to me like it works well with cloudfront as with any other
   OP cdn
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Anthony Somerset](https://wordpress.org/support/users/anthonysomerset/)
 * (@anthonysomerset)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-cloudfront-with-custom-origin/#post-1767074)
 * as a follow up to this, cloudfront is GZIP’ing some content or most GZIP’able
   content anyway automatically with the gzip options turned on in W3TC
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-cloudfront-with-custom-origin/#post-1767088)
 * Interesting post. A supported implementation of this functionality is available
   in the development version: [http://wordpress.org/extend/plugins/w3-total-cache/download/](http://wordpress.org/extend/plugins/w3-total-cache/download/)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: W3 Total Cache] cloudfront with custom origin’ is closed to 
new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-cloudfront-with-custom-origin/#post-1767088)
 * Status: not resolved