You may have heard about how people speed up their websites by offloading images, CSS and JavaScript from their server to a Content Delivery Network like Amazon CloudFront. The CDN mirrors the files in separate datacenters and serves them up from the one closest to a given user, which makes a noticeable difference to load times. If you use a plugin like W3 Total Cache, you can automatically link your media folders to a CDN and rewrite the the file URLs on the fly, even minifying the CSS and JavaScript.
Amazon CloudFront is one of the cheaper CDNs, but many people worry about it’s seemingly complicated pricing scheme. Since you pay for what you use, your monthly bill is calculated based on how many gigabytes of data you transfer and how many HTTP requests are made.
You pay $0.0075 for every 10,000 HTTP requests, and $0.12 per gigabyte for North American and European visitors. The cost-per gigabyte is slightly higher for other regions, but it doesn’t go over $0.25/GB.
So how much do you end up paying for a blog with around 40,000 page views per month? $0.64.
I’ve been running CloudFront for a little while now, and I ended up paying about sixty-four cents from the 3.004GB of transfer incurred over the month of January. It’s definitely affordable, and should help take some load off your server, besides decreasing load times.