7 ms·
CloudFront is good. We use it for large assets. After managing thousands of sites, we realized that it's actually a hassle to manage cache invalidation yourself
by calavera 10y ago
CloudFront is good. We use it for large assets. After managing thousands of sites, we realized that it's actually a hassle to manage cache invalidation yourself.
We work with several cloud providers to offer a better experience at the CDN level and manage caches for you. Our CDN also allows proxying end-to-end encrypted connections, so you can use it to host front-end apps and redirect requests to backend servers somewhere else.
- themartorana 10y agoI put it up on our blog, but many S3 deployment SaaS operations or even self-hosted solutions will invalidate CDN caches automatically based on files deployed to S3. We use http://deploybot.com http://deploybot.com but there are many others.
- base 10y agoI use s3_website (https://github.com/laurilehmijoki/s3_website https://github.com/laurilehmijoki/s3_website) to deploy to S3 and invalidate in CloudFront.