Skip to content

Cache owner model shelves and reload on Refresh - #250

Merged
NeilJo-GY merged 1 commit into
mainfrom
fix/owner-catalog-session-cache
Oct 29, 2026
Merged

NeilJo-GY merged 1 commit into
mainfrom
fix/owner-catalog-session-cache

Conversation

@NeilJo-GY

Copy link
Copy Markdown
Contributor

Summary

  • Session-cache official/BYO owner catalog pages (5m TTL) so opening settings does not re-page every time
  • Load official shelf when host is ready without waiting on key geo; Refresh invalidates cache and reloads status + official models + shelves
  • Hide supplier link on empty shelves; empty-state copy points at Refresh to reload the shelf

Test plan

  • Open agent owner AGENT PRICING with Official: shelf populates without waiting on geo
  • Re-open settings within 5 minutes: catalog should feel instant (session cache)
  • Tap Refresh status: shelf reloads (cache bust); CN geo still filters when geo arrives
  • Empty shelf: no Supplier under-row; copy mentions Refresh to reload shelf

Made with Cursor

Official catalog no longer waits on key geo, and empty shelves hide the supplier link until models are available.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Oct 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
interfaze Ready Ready Preview Oct 29, 2026 2:22am UTC

@NeilJo-GY
NeilJo-GY merged commit 22247a8 into main Oct 29, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 9bdbe8ac Deployed Oct 29, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant