summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-04-22 14:39:01 +0300
committerAndrew Dolgov <[email protected]>2020-04-22 14:39:01 +0300
commit84621978320342bfd6412a2df7d3d7b0632de3ee (patch)
treef2cd2ff225139303935587df79c6d3919c2ff2b3
parent2e25e5a1ce62d7153c84bba89ffb0893054f2665 (diff)
remove cache-busting resources, just go cache-first
-rw-r--r--index.php4
-rw-r--r--worker.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/index.php b/index.php
index 6f651cb..9daf021 100644
--- a/index.php
+++ b/index.php
@@ -60,11 +60,11 @@
<script src="lib/holder.min.js"></script>
<script src="lib/localforage.min.js"></script>
<title>The Epube</title>
- <link type="text/css" rel="stylesheet" media="screen" href="css/index.css?<?php echo time() ?>" />
+ <link type="text/css" rel="stylesheet" media="screen" href="css/index.css" />
<link rel="shortcut icon" type="image/png" href="img/favicon.png" />
<link rel="manifest" href="manifest.json">
<meta name="mobile-web-app-capable" content="yes">
- <script src="js/app.js?<?php echo time() ?>"></script>
+ <script src="js/app.js?"></script>
<script type="text/javascript">
'use strict';
diff --git a/worker.js b/worker.js
index 9791d8d..cfa6687 100644
--- a/worker.js
+++ b/worker.js
@@ -5,7 +5,7 @@ const CACHE_NAME = CACHE_PREFIX + '-v2';
const CACHE_URLS = [
'manifest.json',
'worker.js',
- 'img/ic_launcher_web.png',
+ 'img/ic_launcher_web.png?v4',
'img/favicon.png',
'read.html',
'js/app.js',