Skip to content

Instantly share code, notes, and snippets.

@neodigm
Created October 19, 2022 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neodigm/b080f1b4221df7b48e8f70687f9fcecf to your computer and use it in GitHub Desktop.
Save neodigm/b080f1b4221df7b48e8f70687f9fcecf to your computer and use it in GitHub Desktop.
// Clear the Cache
caches.keys().then((keyList) =>
Promise.all(
keyList.map((key) => {
return caches.delete(key);
})
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment