Title: mod_pagespeed   Cloudflare
Last modified: August 20, 2016

---

# mod_pagespeed Cloudflare

 *  [jmeeter](https://wordpress.org/support/users/jmeeter/)
 * (@jmeeter)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/mod_pagespeed-cloudflare/)
 * Do you know how I can configure W3 Total Cache and Cloudfront to host images 
   and scripts that have been tweaked by mod_pagespeed?
 * [http://wordpress.org/extend/plugins/w3-total-cache/](http://wordpress.org/extend/plugins/w3-total-cache/)

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

 *  [Pothi Kalimuthu](https://wordpress.org/support/users/pothi/)
 * (@pothi)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/mod_pagespeed-cloudflare/#post-3435387)
 * Cloudflare or CloudFront?
 * If it is CloudFront, mod_pagespeed has an option to specify optional domain name/
   s that can serve the static content. Here’s the official documentation… [https://developers.google.com/speed/docs/mod_pagespeed/domains](https://developers.google.com/speed/docs/mod_pagespeed/domains)
 * Untested with W3 Total Cache plugin, though.
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/mod_pagespeed-cloudflare/#post-3435445)
 * If you’re using mod_pagespeed or mod_cloudflare or cloudflare without the apache
   module then you probably should minify with W3TC (in fact W3TC disables minify
   when cloudflare is enabled). Anyway, if I understand your question correctly,
   you probably shouldn’t do any image related tweaks with W3TC in this case.
 *  Thread Starter [jmeeter](https://wordpress.org/support/users/jmeeter/)
 * (@jmeeter)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/mod_pagespeed-cloudflare/#post-3435446)
 * Hi guys, sorry for the confusion. I meant hosting images and script ON Amazon
   Cloudfront but through W3 Total Cache’s configuration while using mod_pagespeed.
 *  Plugin Contributor [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * (@fredericktownes)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/mod_pagespeed-cloudflare/#post-3435451)
 * I haven’t used mod_pagespeed in a few months. You should do some testing as I
   doubt there would be any issues if using a custom origin with cloudfront.

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

The topic ‘mod_pagespeed Cloudflare’ 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/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [CloudFront](https://wordpress.org/support/topic-tag/cloudfront/)
 * [pagespeed](https://wordpress.org/support/topic-tag/pagespeed/)

 * 4 replies
 * 3 participants
 * Last reply from: [Frederick Townes](https://wordpress.org/support/users/fredericktownes/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/mod_pagespeed-cloudflare/#post-3435451)
 * Status: not resolved