3 ms·
In general if you can make your site static (just flat files), you should serve it from a CDN. It allows you to have edge locations closer to your users, and i
by bosdev 11y ago
In general if you can make your site static (just flat files), you should serve it from a CDN. It allows you to have edge locations closer to your users, and it gives you something which is (effectively) 100% reliable. You never have to do maintenance, never have to reboot instances or worry about scaling. It's faster, usually cheaper, and more reliable.
In terms of which CDN you should use, there are a few options. CloudFront has the most edge locations, Fastly and MaxCDN are more configurable. At Eager we use CloudFront for our app (https://eager.io https://eager.io), and Fastly (with a CloudFront fallback) for the static files we serve our users. One other note is that Fastly has some cheaper SSL options than CF, particularly if you need support for Windows XP clients.