Delete (rather than just empty) temporary cache after activation #1735
Labels
Developer Experience
Related to ease of use for developers.
Documentation
Related to our docs.
Good First Issue
This would be an ideal issue for a new contributor to take on.
workbox-precaching
Library Affected:
workbox-precaching
Since Workbox v3,
workbox-precaching
has been creating a temporary cache that's populated during theinstall
phase, and cleared out during theactivate
phase. (See #1316.) Following a successful activation, the temporary cache has no entries in it, but the namedCache
itself isn't deleted, so it shows up as empty in the cache storage debug tools, and can cause developer confusion.We might as well delete it following activation, just to prevent that confusion. The cost of recreating the
Cache
should be negligible.The text was updated successfully, but these errors were encountered: