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) => {
|
||||
event.waitUntil(
|
||||
|
@ -6,8 +6,8 @@ self.addEventListener('install', (event) => {
|
|||
return cache.addAll([
|
||||
'/',
|
||||
'/favicon.ico',
|
||||
'/scripts.js?1',
|
||||
'/style.css?1',
|
||||
'/scripts.js?2',
|
||||
'/style.css?2',
|
||||
])
|
||||
})
|
||||
)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
<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>
|
||||
</head>
|
||||
|
||||
|
@ -71,6 +71,6 @@
|
|||
<a href="#" title="Source code coming soon">Source</a>
|
||||
</footer>
|
||||
|
||||
<script src="/scripts.js?1"></script>
|
||||
<script src="/scripts.js?2"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue