Skip to content
Demos showing how to use Import Maps to prevent cascading cache invalidations
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Import Maps Caching Demos

Demos showing how to use Import Maps (and similar technologies) to avoid the problems described in the article Cascading Cache Invalidation.

🚀  View demos on Glitch  👉

Building and running the app locally

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

Validating changes

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.

You can’t perform that action at this time.