Re:Hosting My Static Site
by themartorana on Wednesday August 31, 2016 @06:39PM
(#12402018)
I 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 but there are many others.
I use s3_website (https://github.com/laurilehmijoki/s3_website) to deploy to S3 and invalidate in CloudFront.
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.