Service Worker Precaching (Rollup)

Open the console to see the script output and inspect the source.

In this demo, the source modules import un-revisioned URLs, but the service worker has precached revisioned versions of each. This demo uses Rollup and workbox-cli to build the service worker.

Source Code: https://github.com/philipwalton/import-maps-caching-demos