PDA

View Full Version : W3 Total Cache and Amazon S3 Cloudfront CDN



Admin
05-05-2012, 05:23 PM
To optimize your wordpress web site, you should seriously consider W3 Total Cache pluginFirst you need to open the Amazon Account

http://aws.amazon.com (http://aws.amazon.com1)

1) Configure S3
Create a bucketchoose the closest geographic location, and don't forget to turn off logging option.

2 ) Configure CloudFrond Create Distribution

Delivery Method = Download
Logging OFF
select your S3 Bucket
create cnames like

cdn1.yourdomain.com
cdn2.yourdomain.com
cdn3.yourdomain.com
cdn4.yourdomain.com

the numbers of cdn and CNAME depends about how complex is your web site, and number of files needing to be downloading to serve a typical pageI suggest to set 4 different max cdn to start.

once you have validated the steps, you will be able to note down the access of the cloudfront distribution, see the screenshot :

http://albums.photoonweb.com/celebrities/2012-05-05_19h07_26.png3 (http://albums.photoonweb.com/celebrities/2012-05-05_19h07_26.png3) )

update your DNS this procedure depends on your hosting service, but basically you just need to use the previous link exemple :

d21we2pqw4m0d7.cloudfront.net

Here is how it looks when new CNAME have been added in CloudFlare DNS http://albums.photoonweb.com/celebrities/2012-05-05_19h19_38.png