From e29d83a9928b4192bae2308337633c5cd8a6f777 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 4 Oct 2026 10:22:34 +0000 Subject: [PATCH 1/3] Remove unused sprite symbols i-bin and i-tick Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Ui7SPvLZPpTpR2fXhKEgSp --- index.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/index.html b/index.html index 47b00ee..cad49f5 100644 --- a/index.html +++ b/index.html @@ -1094,10 +1094,6 @@ - - - - From 78b2b5c1ae8d5b1d0776c89cff214a7517319940 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 4 Oct 2026 10:23:59 +0000 Subject: [PATCH 2/3] Re-measure and stamp sw.js shell cache after sprite removal Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Ui7SPvLZPpTpR2fXhKEgSp --- sw.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sw.js b/sw.js index 9fb3ad9..13d5727 100644 --- a/sw.js +++ b/sw.js @@ -7,8 +7,8 @@ // One cache would either re-download the room index on every deploy or pin an // installed icon to last month's app.js forever. // -// Measured on 2026-09-16 over the committed blobs, which is the copy Pages serves: -// `git show HEAD: | gzip -9 -c | wc -c`. Shell 167,466 bytes, data 115,160. +// Measured on 2026-10-04 over the committed blobs, which is the copy Pages serves: +// `git show HEAD: | gzip -9 -c | wc -c`. Shell 167,815 bytes, data 116,764. // Run it exactly as written, through the pipe. `gzip -9 -c ` with the // name as an argument stores each basename in the gzip FNAME header and reads // 176 bytes higher across these seventeen files, which is most of a percent of @@ -88,7 +88,7 @@ // placeholder is __BUILD_ID__, and a committed sw.js still carrying it means the // stamp did not run. scripts/test/sw.test.mjs fails on exactly that. Spelled out // rather than built from CACHE_PREFIX, because the stamper rewrites this line. -const SHELL_CACHE = 'vacant-shell-0fca58e'; +const SHELL_CACHE = 'vacant-shell-e29d83a'; const DATA_CACHE = 'vacant-data-v1'; // CacheStorage is per origin, not per path, and enesyilmazcode.github.io also From b751e42d74f231a696a7ecf7df129cafdd59793e Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 4 Oct 2026 10:29:38 +0000 Subject: [PATCH 3/3] Re-measure sw.js and README shell size after merging main Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Ui7SPvLZPpTpR2fXhKEgSp --- README.md | 2 +- sw.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 382c883..a32eb87 100644 --- a/README.md +++ b/README.md @@ -197,7 +197,7 @@ sits at the bottom, then **Add to Home Screen**. iOS 26 defaults to that Compact layout, which is why the app offers you both. On Android, Chrome has **Install app** in its menu. -Installed, the whole app is 164 KB of shell and about 112 KB of schedule, gzipped, and +Installed, the whole app is 165 KB of shell and about 112 KB of schedule, gzipped, and none of it is fetched again to answer a question. Turn the network off, open it, and it still ranks rooms. That matters because the moment you want it most is the moment you are in a basement with one bar. diff --git a/sw.js b/sw.js index f9e1466..a79b570 100644 --- a/sw.js +++ b/sw.js @@ -8,7 +8,7 @@ // installed icon to last month's app.js forever. // // Measured on 2026-10-04 over the committed blobs, which is the copy Pages serves: -// `git show HEAD: | gzip -9 -c | wc -c`. Shell 167,815 bytes, data 116,764. +// `git show HEAD: | gzip -9 -c | wc -c`. Shell 168,794 bytes, data 116,764. // Run it exactly as written, through the pipe. `gzip -9 -c ` with the // name as an argument stores each basename in the gzip FNAME header and reads // 176 bytes higher across these seventeen files, which is most of a percent of @@ -88,7 +88,7 @@ // placeholder is __BUILD_ID__, and a committed sw.js still carrying it means the // stamp did not run. scripts/test/sw.test.mjs fails on exactly that. Spelled out // rather than built from CACHE_PREFIX, because the stamper rewrites this line. -const SHELL_CACHE = 'vacant-shell-__BUILD_ID__'; +const SHELL_CACHE = 'vacant-shell-0296cd1'; const DATA_CACHE = 'vacant-data-v1'; // CacheStorage is per origin, not per path, and enesyilmazcode.github.io also