Skip to content

v1.3.1 — near-live shelf counts on /api/profile

Choose a tag to compare

@manfredas370 manfredas370 released this 07 Jul 11:57

Patch from live QA of the home screen: collection/wantlist counts on /api/profile came from the KV-cached aggregates (4 h TTL), so a recent wantlist change showed a stale total right next to the live Discogs page.

/api/profile now runs a tiny counts probe — a per_page=1 page of each list, reading only pagination.items — cached for 15 minutes. Cost: at most 2 Discogs calls per quarter-hour, only when the panel is opened; falls back to aggregate totals if the probe fails. Profile content (styles, labels, recently added) intentionally stays on the cached aggregates.

Deployed to the hosted instance.

Full Changelog: v1.3.0...v1.3.1