Skip to content

Comments

perf(portal): skip redundant destination-types refetch on mount#710

Merged
alexluong merged 1 commit intomainfrom
portal/cache-destination-types
Feb 20, 2026
Merged

perf(portal): skip redundant destination-types refetch on mount#710
alexluong merged 1 commit intomainfrom
portal/cache-destination-types

Conversation

@alexluong
Copy link
Collaborator

Destination types are static data that don't change at runtime. Adding revalidateIfStale: false prevents SWR from refetching on every component mount while still revalidating on focus/reconnect.

Destination types are static data that don't change at runtime.
Adding revalidateIfStale: false prevents SWR from refetching on
every component mount while still revalidating on focus/reconnect.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 20, 2026

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

Project Deployment Actions Updated (UTC)
outpost-docs Ready Ready Preview, Comment Feb 20, 2026 8:06am
outpost-website Ready Ready Preview, Comment Feb 20, 2026 8:06am

Request Review

@alexluong alexluong merged commit c1986b6 into main Feb 20, 2026
5 checks passed
@alexluong alexluong deleted the portal/cache-destination-types branch February 20, 2026 20:28
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.

2 participants