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

remove cache remover and add fetch option

parent 20b4ad04
No related branches found
No related tags found
No related merge requests found
......@@ -20,25 +20,6 @@
<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({
......@@ -46,7 +27,6 @@
title: 'Python3',
layout: 'wide',
darkThemeToggler: true,
fetchOptions: { cache: 'no-cache' },
detectSystemDarkTheme: true,
highlight: ['python', 'c', 'cpp'],
nav: [
......@@ -102,6 +82,7 @@
],
},
],
fetchOptions: { cache: 'no-cache' },
});
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment