-
Super easy @awscloud S3 deploy w/ cloudfront invalidation and Cache-Control headers for @reactjs CRA -->
yarn websync
gist.github.com/jeffsheets/8eb6821b04a532d0dbf23443d986d84e -
I really like the zero config CDN invalidation through some magic AWS lookups in the websync npm library
-
And this uses the recommended static file cache headers from CRA create-react-app.dev/docs/production-build#static-file-caching
-
Plus websync uses the AWS NodeJS api so the build image is lighter not requiring python too