Cue-sheet caching so each route is enriched once #30

Open
opened 2026-08-31 17:14:46 +02:00 by robert · 0 comments
robert commented 2026-08-31 17:14:46 +02:00 (Migrated from git.butzei.de)

Goal

Enrichment is slow and possibly online. Do it at import, never during a ride.

Acceptance criteria

  • Cue sheet serialised to disk, keyed by route id and enricher version
  • Cache invalidated when the route or the enricher version changes
  • Ride start loads from cache with no network and no BRouter round-trip
  • Which backend produced the cached sheet is recorded and displayed
  • Manual re-enrich available, for example after installing BRouter

Files

  • companion/.../route/enrich/CueSheetCache.kt
## Goal Enrichment is slow and possibly online. Do it at import, never during a ride. ## Acceptance criteria - [ ] Cue sheet serialised to disk, keyed by route id and enricher version - [ ] Cache invalidated when the route or the enricher version changes - [ ] Ride start loads from cache with no network and no BRouter round-trip - [ ] Which backend produced the cached sheet is recorded and displayed - [ ] Manual re-enrich available, for example after installing BRouter ## Files - `companion/.../route/enrich/CueSheetCache.kt`
Sign in to join this conversation.
No description provided.