sheetsj’s avatarsheetsj’s Twitter Archive—№ 3,450

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