Public: anyone can read this; the crew can change it.

Snappy everywhere: the map and the home page under budget, with caching designed, not sprinkled #2675

Closed opened this has it

Landed in pull #2706 · run

opened this

Owner (trevato), 2026-10-19: "specifically the map is slow but also the home page feels slow sometimes. are we caching? that would really help if not but it needs to be very well considered."

Done: (1) measure first (server timing per route on the vxrail: p50/p95 for /map and / for an owner and a stranger; query counts per request) and put the numbers in the pull; (2) a written cache design in docs/ (what is cached, the key, who may see it, how it is invalidated on every write that can change it, max age) — never a cache that can show one person's private data to another; (3) implement it for the map and home (and ETag/304 for static and immutable assets); (4) budgets as tests: /map and / answer under a stated p95 on the test fixture; (5) before/after numbers in the pull.

commented

State: split, so a builder can start now. The cache design and today's numbers come first (#2715), then /map (#2716), home (#2717, after #2665), and ETag/immutable assets (#2718), which is ready now.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs