Hacker News new | past | comments | ask | show | jobs | submit login

The great thing about static sites is that it's really easy to put them behind a CDN. Amazon Cloudfront is pay-what-you-use and seems pretty reasonable especially for smallish sites.



We currently use a mix of Akamai (100TB/month commit, static assets), Cloudfront (serves a static JS site out of S3, 10-50GB/month of usage), and Cloudflare (caches JSON get requests from an Elastic Beanstalk REST API). I've found Cloudfront to be faster than Akamai (although a bit pricier unless you're committing to 10TB+/month from a specific region), and Cloudflare to be faster than both (although with Cloudflare I can't invalidate individual files/URI paths, just the whole site, which I can live with).


Correct me if I'm wrong, but doesn't Akamai have a not-insignificant minimum monthly charge?

And does Cloudflare cache HTML pages? Last I checked it only cached (what it considered) static assets and hit the origin for every page.


> Correct me if I'm wrong, but doesn't Akamai have a not-insignificant minimum monthly charge?

Yes. "It was like that when I got here." I'm working on it.

> And does Cloudflare cache HTML pages? Last I checked it only cached (what it considered) static assets and hit the origin for every page.

Yes. This is configurable.


Need to create page rules if you want to cache HTML pages.

Also, cloudflare does support clearing of individual files. There is an API for it. Pretty sure their web client does too.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: