From afc779e27eb914bbd2efffed6d637c8e70200cc1 Mon Sep 17 00:00:00 2001 From: Richard Zink Date: Sun, 11 Oct 2026 21:36:26 +0200 Subject: [PATCH] README: document the geo/cells_v1 manifest and what it does for warm reloads --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 4b2efbf..8a47b72 100644 --- a/README.md +++ b/README.md @@ -213,10 +213,15 @@ Everything is stored in IndexedDB, database `background-tiles`, store `tiles`: | `geo/roadchains_v1` | merged road polylines (rebuilt only when a cell is re-fetched) | | `geo/placecache_v1` | decoded settlement list | | `geo/airports_v1` | airfield list used by the aviation layer | +| `geo/cells_v1` | manifest: every cached Overpass cell with the time it was stored | The star catalogue is not cached: `build.py` inlines `vendor/stars.json` into `window.__starsData`. Weather is the only thing fetched live on every load. +The manifest is what makes a warm reload fast: the road and settlement layers +compare `geo/cells_v1` against their build records and replay the finished +geometry without reading a single raw Overpass cell. + Cached data is never re-fetched unless `CONFIG.tiles.expireDays` is set. To start clean, delete the `background-tiles` database in the browser.