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?

1 Answer 1


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).

  • 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, 2012 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, 2012 at 11:27
  • Yes, exactly. In terms of shear performance, it should be great.
    – jnthnclrk
    Aug 1, 2012 at 11:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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