diff --git a/templates/sw.js b/templates/sw.js index 0bf8170..394ee52 100644 --- a/templates/sw.js +++ b/templates/sw.js @@ -1,5 +1,7 @@ // Served from / (not /static/) so its scope covers /admin/today/. -const CACHE = "osiris-v1"; +// Bump on any change here or to the cached pages: activate() drops older caches, +// which is what stops a stale Today page surviving a deploy. +const CACHE = "osiris-v2"; self.addEventListener("install", (event) => { self.skipWaiting(); diff --git a/templates/tracker/today.html b/templates/tracker/today.html index 7a6188f..ea1e225 100644 --- a/templates/tracker/today.html +++ b/templates/tracker/today.html @@ -145,19 +145,34 @@ {% endif %} -
Checking…
+
A reminder is sent at each dose's reminder time, and only if it isn't already ticked off. Set those times on the medication in the admin.
+