Skip to content
This day’s portion

Add a Service Worker to Your Site

| Comments

Add a Service Worker to Your Site

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.

By Chris Ferdinandi. Originally published 28/12/21.

Leon Paternoster

Leon Paternoster

Permalink: https://www.thisdaysportion.com/links/add-a-service-worker-to-your-site

Like of: https://css-tricks.com/add-a-service-worker-to-your-site/

Previous link

Next link

Comments

Add a comment

Required fields marked * I won’t publish or share your email address. Privacy statement.

Comments are moderated and won’t appear straight away. Subscribe to the comments feed to see when new comments are published.

No comments yet 🦉.