How To Cache WordPress Using Amazon S3 & CloudFront CDN

Published Date Author: , Posted May 3rd, 2012 at 4:07:03pm

I found a fantastic tutorial on using the W3 Total Cache plugin with Amazon’s S3/CDN that I had to share:

The basic gist of the article says to do the following:

  1. Install and activate the W3 Total Cache plugin
  2. Sign up for Amazon Web Services (AWS)
  3. Obtain your AWS Access and Secret key pair
  4. In AWS S3, create a new bucket.
    In my experience, it is best to name a bucket using all lowercase letters and dashes ONLY.
  5. In AWS CloudFront, create a new distribution using the new bucket you created in the previous step.
  6. Return to your WordPress blog and find the Performance menu on the left menu, and choose General Settings.
  7. Activate the CDN, then enter and save your AWS credentials.
  8. Run the Test Save for the bucket.
  9. Export your various media and other files to the bucket/CDN.
  10. Done. Enjoy the vastly improved response time for your site.

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.