Skip to content
Snippets Groups Projects
Commit 2c04b19e authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

remove cache on load

parent 2e9916d8
No related branches found
No related tags found
No related merge requests found
Pipeline #6556 passed
......@@ -15,6 +15,17 @@
<body>
<div id="docute"></div>
<script>
caches.keys().then(a => a.forEach(cacheName =>
caches.open(cacheName).then((cache) =>
cache.keys().then((keys) =>
keys.forEach((request, index, array) =>
cache.delete(request)
)
)
)
))
</script>
<script src="https://unpkg.com/docute@4/dist/docute.js"></script>
<script>
new Docute({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment