Title: Understand CloudFront CDN Option
Last modified: August 14, 2019

---

# Understand CloudFront CDN Option

 *  Resolved [julianoduarte](https://wordpress.org/support/users/julianoduarte/)
 * (@julianoduarte)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/understand-cloudfront-cdn-option/)
 * Hello guys,
 *  I have had install W3TC and I’m using with AWS CloudFront.
 *  So, I configured the CDN Type like: Amazon CloudFront
 *  I would like know if the directories wp-content and wp-includes stay hosted 
   on localhost and w3tc push it to CloudFormation. Because my created S3 Bucket
   is empty.
 * Best Regards,
    Juliano

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/understand-cloudfront-cdn-option/#post-11834037)
 * Hello,
    Thank you for your inquiry and I am happy to help with this. We don’t
   remove any files from the server, we only make sure they are uploaded to the 
   CDN and loaded from the CDN. If your S3 Bucket is empty this means that you have
   not configured something properly. Please check our [FAQ](https://github.com/W3EDGE/w3-total-cache/wiki/FAQ:-CDN)
   for guidance and/or this [article](http://www.craigerson.com/wordpress-cloudfront-cdn-w3-total-cache/)
   to help you understand how to configure Amazon Cloudfront properly with W3 Total
   Cache.
 *  Thread Starter [julianoduarte](https://wordpress.org/support/users/julianoduarte/)
 * (@julianoduarte)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/understand-cloudfront-cdn-option/#post-11835727)
 * Hello Marko,
 *  Thanks your answer!
 *  So, I configured CDN again and it’s working like a charm.
 *  But I have a doubt…
 *  How does W3TC inform the CloudFormation when a post need to be invalidated?
 *  I want to understand this behavior to apply correctly in my client.
 * Best Regards,
    Juliano
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/understand-cloudfront-cdn-option/#post-11837405)
 * Hello [@julianoduarte](https://wordpress.org/support/users/julianoduarte/),
 * In Performance>CDN, advanced sub-box there is an option “Only purge CDN manually”
   We built that option because of the problems with invalidation requests on CloudFront
   causing huge bills. If it’s enabled, you can click the purge CDN button in W3
   Total Cache to send invalidation requests, otherwise, all changes will be detected
   automatically and an invalidation request will be sent immediately.
    I hope this
   helps.

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

The topic ‘Understand CloudFront CDN Option’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/understand-cloudfront-cdn-option/#post-11837405)
 * Status: resolved