Yesterday, we set up WP Super Cache to speed up our site, which is a great step. We can go further though and setup a way to cheaply host items in multiple places around the world, closer to those looking for it. This can speed up delivery, especially large items like photos.
Amazon (purveyor of everything from books to bookshelves), also have a pair of web services which we will set up now. The services do cost (s3 pricing, cloudfront pricing), but we’re talking about site being a couple of pence per year on top of normal hosting!
Due to my experience with setting up these accounts, I suggest you sign up for both of these first before attempting any of the other work involved. Be prepared to wait a few hours for your account to be setup (they email you when it’s ready).
Amazon Simple Storage Service – S3
Create Bucket.phillprice-com-images, so you can’t choose the same name.http://s3.amazonaws.com/phillprice-com-images, but we won’t be using it.Upload.Set Permissions.Make everything public and click Set Metadata.Add more metadata, set the key to Expires and the value to something in the future. For instance Sun, 01 Jan 2012 20:00:00 GMT and click Start Upload.Tomorrow we’ll get the files actually in use from Cloudfront, the actual CDN. It may take some time for it to work, so it would be best to Sign up for Cloudfront today. See you tomorrow.
3 Comments
10am, 04/03/11
The picture says #11, while the title says day 12 ;) Nice series of tips by the way.
6pm, 06/04/11
Good stuff, but I was wondering if you could elaborate on step 7 a bit more. An example of how you have things structured might be helpful. Thanks!
6pm, 06/04/11
this is awesome!! thank you very much
back to top