Skip to content

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

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

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

Conversation

@alexluong

Copy link
Copy Markdown
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

vercel Bot commented Feb 20, 2026

Copy link
Copy Markdown

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

@vercel
vercel Bot temporarily deployed to Preview – outpost-docs February 20, 2026 08:06 Inactive
@vercel
vercel Bot temporarily deployed to Preview – outpost-website February 20, 2026 08:06 Inactive
@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