From 31ca33571c90a50d3b1a0d91ece764d2054d05bc Mon Sep 17 00:00:00 2001 From: sijanec Date: Mon, 8 Jun 2020 23:27:50 +0200 Subject: killing the cache ... good to go --- assets/js/app.js.bvr | 2 +- dist/cache_name.txt | 2 +- dist/js/app.js | 4 ++-- dist/pages/about.html | 2 +- dist/sw.js | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/js/app.js.bvr b/assets/js/app.js.bvr index 0bc7bcb..c252c40 100644 --- a/assets/js/app.js.bvr +++ b/assets/js/app.js.bvr @@ -55,7 +55,7 @@ function gsecErrorHandlerUI(err) { var update_app_function = async function () { try { - $.get("/cache_name.txt", (data, status) => { + $.get("/cache_name.txt?cache_kill="+Date.now(), (data, status) => { var cache_name = data.split("///")[1].split("|||")[0]; var data_to_send = { action: "checkversion", diff --git a/dist/cache_name.txt b/dist/cache_name.txt index ae024b0..93c9aef 100644 --- a/dist/cache_name.txt +++ b/dist/cache_name.txt @@ -2,4 +2,4 @@ -///site-static-1.0.14.3-beta-0d4d639||| +///site-static-1.0.14.3-beta-5f22473||| diff --git a/dist/js/app.js b/dist/js/app.js index e0d40ad..e2758ff 100755 --- a/dist/js/app.js +++ b/dist/js/app.js @@ -3,7 +3,7 @@ const app_version = "1.0.14.3-beta"; -const previous_commit = "0d4d63927cb2b608c65641859bfe43ba6b17b204"; +const previous_commit = "5f22473be3faa9cd2a50444f8bea4af46725c030"; const BEZIAPP_UPDATE_INTERVAL = 300; // update vsakih 300 sekund if ("serviceWorker" in navigator) { @@ -58,7 +58,7 @@ function gsecErrorHandlerUI(err) { var update_app_function = async function () { try { - $.get("/cache_name.txt", (data, status) => { + $.get("/cache_name.txt?cache_kill="+Date.now(), (data, status) => { var cache_name = data.split("///")[1].split("|||")[0]; var data_to_send = { action: "checkversion", diff --git a/dist/pages/about.html b/dist/pages/about.html index bea99c7..5af316e 100755 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -161,7 +161,7 @@

- ^HEAD 0d4d63927cb2b608c65641859bfe43ba6b17b204 + ^HEAD 5f22473be3faa9cd2a50444f8bea4af46725c030

diff --git a/dist/sw.js b/dist/sw.js index 5578deb..61095c4 100755 --- a/dist/sw.js +++ b/dist/sw.js @@ -3,8 +3,8 @@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.14.3-beta-0d4d639"; -// commit before the latest is 0d4d63927cb2b608c65641859bfe43ba6b17b204 +const static_cache_name = "site-static-1.0.14.3-beta-5f22473"; +// commit before the latest is 5f22473be3faa9cd2a50444f8bea4af46725c030 // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! -- cgit v1.2.3