WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I love the Cloudfront approach described here: http://www.paessler.com/blog/2011/04/12/network-monitoring-basics/hosting_a_website_through_amazon_cloudfront

I wonder if this is possible to do with caching plugins that create static html files?

share|improve this question
up vote 2 down vote accepted

It depends what you mean, entirely on Cloudfront.

Cloudfront is a CDN only. It can't run any server side scripting environments (PHP or MySQL), it therefore isn't possible to host a wordpress site entirely with Cloudfront.

You could alternatively use Cloudfront to host your images to improve speed. The closest way to host a wordpress site entirely on Cloudfront is to use ‘Origin Pull’.

It is relatively easy to setup (see this article), but still requires a backend server (therefore not offer a saving on cost).

share|improve this answer
I was thinking that if I used caching to produce HTML files for each page then these could be origin pulled and served from Cloudfront. Essentially making the origin a back up to the static version of the site on Cloudfront. – jnthnclrk Aug 1 '12 at 11:19
@trnsfrmr If you setup the caching and then create an origin pull, it will be pulling the cached pages. Is this what you want? – John Wheal Aug 1 '12 at 11:27
Yes, exactly. In terms of shear performance, it should be great. – jnthnclrk Aug 1 '12 at 11:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.