Demos showing how to use Import Maps (and similar technologies) to avoid the problems described in the article Cascading Cache Invalidation.
To run the app locally, clone this repo and npm install
all dependencies, then run the following command:
npm start
Or to build the app without running it, run:
npm run build
To validate that source changes don't cause cascading cache invalidations, make a change to the source modules and rebuild the demos:
npm run build
After a rebuild, you can reload each demo and see which assets are served from cache and which assets are re-requested.