Version static app assets for CDN releases

This commit is contained in:
2026-07-30 18:37:39 -04:00
parent 792714c6d5
commit eec422661b
22 changed files with 75 additions and 75 deletions
+20 -20
View File
@@ -1,4 +1,4 @@
const CACHE_NAME = "roast-planner-static-v7";
const CACHE_NAME = "roast-planner-static-v8";
// Only /app is precached as a navigable page: it is a data-free authenticated shell (draft
// data lives only in account-scoped local storage, and logout clears that namespace), so it is
// the one page that is both safe and useful to relaunch offline. The marketing page, auth
@@ -7,25 +7,25 @@ const CACHE_NAME = "roast-planner-static-v7";
// stale content.
const APP_SHELL = [
"/app",
"/app.css?v=20260730-5ef8274",
"/worksheet.css",
"/manifest.webmanifest",
"/icon.svg",
"/js/main.js",
"/js/api.js",
"/js/nav.js",
"/js/toast.js",
"/js/why-panels.js",
"/js/lot-picker.js",
"/js/prefill-ui.js",
"/js/alog-ui.js",
"/js/print.js",
"/shared/fields.js",
"/shared/ledger.js",
"/shared/time.js",
"/shared/reference-data.js",
"/shared/curve.js",
"/shared/cupping.js",
"/app.css?v=20260730-release2",
"/worksheet.css?v=20260730-release2",
"/manifest.webmanifest?v=20260730-release2",
"/icon.svg?v=20260730-release2",
"/js/main.js?v=20260730-release2",
"/js/api.js?v=20260730-release2",
"/js/nav.js?v=20260730-release2",
"/js/toast.js?v=20260730-release2",
"/js/why-panels.js?v=20260730-release2",
"/js/lot-picker.js?v=20260730-release2",
"/js/prefill-ui.js?v=20260730-release2",
"/js/alog-ui.js?v=20260730-release2",
"/js/print.js?v=20260730-release2",
"/shared/fields.js?v=20260730-release2",
"/shared/ledger.js?v=20260730-release2",
"/shared/time.js?v=20260730-release2",
"/shared/reference-data.js?v=20260730-release2",
"/shared/curve.js?v=20260730-release2",
"/shared/cupping.js?v=20260730-release2",
];
self.addEventListener("install", (event) => {