wildhaber / gluebert

gluebert.js is a tiny helper lazy loading DOM Elements, StyleSheets and JavaScript files using dynamic import and code splitting

Home Page:https://gluebert.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build service worker through webpack and include package version as cache version

wildhaber opened this issue · comments

Description

Currently, its a manual process to invalidate service worker cache when something has changed on the documentation.

To improve this and make the documentation updates more rapidly, we would need to integrate the package-version number in the sw.js cache-version.