Changeset df9da7d in Klonkt for src/routes/posts.js

Timestamp:
07/16/2026 12:20:51 PM (8 weeks ago)
Author:
Robin <roboburr@…>
Branches:
main
Children:
72f936a
Parents:
4424af7
git-author:
Robin <roboburr@…> (07/12/2026 11:35:56 PM)
git-committer:
Robin <roboburr@…> (07/16/2026 12:20:51 PM)
Message:

Fix: PWA no longer shows stale homepage on flaky cold start

The service worker is network-first for navigations (fresh when online), but
its offline fallback served the '/' snapshot cached once at install time, so a
cold PWA launch on a slow/offline connection showed old data. Now refresh the
cached '/' on every successful homepage load, so the fallback is always the
latest seen page. Bumped cache version v16 → v17 so clients adopt the new SW.

Co-Authored-By: Claude Opus 4.8 <noreply@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.