bust cache for assets
This commit is contained in:
parent
ae94f46c6d
commit
97317aeaa4
|
@ -1,4 +1,4 @@
|
||||||
// Worker v1
|
// Worker v2
|
||||||
|
|
||||||
self.addEventListener('install', (event) => {
|
self.addEventListener('install', (event) => {
|
||||||
event.waitUntil(
|
event.waitUntil(
|
||||||
|
@ -6,8 +6,8 @@ self.addEventListener('install', (event) => {
|
||||||
return cache.addAll([
|
return cache.addAll([
|
||||||
'/',
|
'/',
|
||||||
'/favicon.ico',
|
'/favicon.ico',
|
||||||
'/scripts.js?1',
|
'/scripts.js?2',
|
||||||
'/style.css?1',
|
'/style.css?2',
|
||||||
])
|
])
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="manifest" href="/manifest.json">
|
<link rel="manifest" href="/manifest.json">
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/icon-180.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="/icon-180.png">
|
||||||
<link rel="stylesheet" type="text/css" href="/style.css?1">
|
<link rel="stylesheet" type="text/css" href="/style.css?2">
|
||||||
<title>Facebook Event to iCal Converter</title>
|
<title>Facebook Event to iCal Converter</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -71,6 +71,6 @@
|
||||||
<a href="#" title="Source code coming soon">Source</a>
|
<a href="#" title="Source code coming soon">Source</a>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script src="/scripts.js?1"></script>
|
<script src="/scripts.js?2"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue