5264 posts
  • Achieved the monthly Community Superstar Award
  • Helps us moderate the forums
  • Has been part of the Envato Community for over 6 years
  • Helped several times protecting Envato Market against copyright violations
+16 more

Hey there,

Anybody else using AWS CloudFront on their website?

I just enabled it for a WordPress blog and a custom PHP script all hosted on a single domain. I had to use Route 53 as I wanted to point my apex domain record (ie: mysite.com without the www.) to CloudFront.

So far it seems to work ok. It has instantly cached all static content for me and I can see in the server logs that no static content requests are getting through.

All dynamic content seems to be working ok so far, even all ajax requests and other POST data in the custom PHP script.

Now I can concentrate on optimising some of the slower portions of this WordPress install.

Tomorrow I’ll try to figure out if it’s possible to make CloudFront cache everything if the user isn’t logged into WordPress (or has anything in a shopping cart). Hopefully there’s some feature in CloudFront that can check cookies to decide which requests to send through to my server.

Anybody else had experience with this (and WordPress)? Any problems I should look out for?


1602 posts
  • Made it to the Authors' Hall of Fame
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
  • Has sold $250,000+ on Envato Market
+6 more

I might be interested in this. I recently moved over to WPEngine, and I am not sure if I made the right decision.

Their “time to first byte” is very slow. Even though the pages are very fast, it takes a lot of time to reach the server.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes