diff options
author | Andrew Dolgov <[email protected]> | 2019-11-19 14:49:13 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-11-19 14:49:13 +0300 |
commit | 6c037531be3d0e5e4aeb0b1836a960941d1062a2 (patch) | |
tree | 11ff005d0a9772a6d772a75bd3d56ea489f74876 /index.php | |
parent | 11bcabe3bf074c922c95aa945504f427c15dde7c (diff) |
use map + Promise.all instead of plain iteration while fetching cached urls
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -164,6 +164,8 @@ } if (event.data == 'client-reload') { + const ts = parseInt(new Date().getTime()/1000); + localforage.setItem("epube.cache-timestamp", ts); window.location.reload() } |