Hacker News new | ask | show | jobs
by krallin 4802 days ago
Regarding the load time, using static HTML with a site generator would yield great results here. There really is not reason to be using PHP here.

A great option is to put it on S3 and distribute it with CloudFront.

4 comments

Thanks for those resources. Didn't know about them and they look really useful.
GitHub Pages (http://pages.github.com/) with a custom domain is even easier.
Or, combining the above two comments, Jekyll on Cloudfront with Jekyll-S3
Even that might be overkill. Static files served up by Nginx would do the trick nicely. For a brochure site that isn't going to see anywhere near as much traffic in such a short period of time ever again, a CDN is even overkill.
I agree that Nginx would be sufficient.

However, configuring S3 + CloudFront really isn't that much effort (I'd argue it's even simpler than Nginx).

It's not that expensive either! : ) It would probably even be within the free tier if I'm not mistaken.

Yeah, good call. I wasn't expecting this kind of surge so I didn't plan ahead.