1. 15
  1.  

  2. 7

    Is the purpose of the ServiceWorker only to invalidate the cache of the home page? I don’t understand why that is needed.

    1. 2

      That’s where I was at; I could not figure out the why of … well, any of it. But that part in particular perplexed me.

    2. 3

      You can also host a static website on netlify.com for free by connecting a GitHub repository that holds the site. No S3 required.

      1. 3

        It’s easy. Anyone can even make more faster “website”. Try achieve this on some real websites, what brings money to people.

        1. 1

          While the performance bits are interesting, the design is the bigger takeaway for me here! As someone who does not work on the front end at all its great to see what you can accomplish with knowledge of the web platform.

          1. 1

            That’s awesome. I’m converting my blog to Hugo now, and likely using S3 for images/js/css. It’s about 3x faster than my current setup. It’s the way to go for blogging.

            1. 2

              You can use AWS Amplify too. It takes all the heavy lifting out of CloudFront. Every time you push a commit it builds your site and pushes it out to CloudFront.