I did have a service worker on this site a while back, but removed it after it seemed to cache things unpredictably. The basic version Chris outlines here seems pretty risk free, but then again I’m often changing “static” assets such as the stylesheet.
Original article by Chris Ferdinandi. Published 28/12/21.
Add a comment