Skip to content

fix: restore default prefetching for internal links - #173

Merged
f0rr0 merged 2 commits into
nextfrom
f0rr0/prefetch-writing-posts
Sep 28, 2026
Merged

f0rr0 merged 2 commits into
nextfrom
f0rr0/prefetch-writing-posts

Conversation

@f0rr0

@f0rr0 f0rr0 commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Writing links on Home and Writing and the “See what I’m shipping” link on Tokens disabled Next.js prefetching, leaving page downloads until a click. Remove both opt-outs and use the framework defaults. A repository-wide navigation audit found no other prefetch opt-outs; remaining native anchors are external links, downloads, assets, or in-page anchors.

Validation: reproduced a 729 ms article navigation on the live site with no article prefetch. Local production browser checks confirmed prefetch and 81–96 ms navigation with no article payload or JavaScript fetch after the click, from Writing at desktop width and Home at mobile width. These timings come from different environments. All 13 posts remain statically generated, so prefetching them does not query Supabase; Work retains its existing cache policy.

Production build, six article/SEO/share-image tests, fourteen token-details tests, lint, Knip, and typecheck pass.

@vercel

vercel Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
f0rr0-github-io Ready Ready Preview Sep 28, 2026 2:24pm UTC

@f0rr0 f0rr0 changed the title fix: prefetch writing links for faster navigation fix: restore default prefetching for internal links Sep 28, 2026
@f0rr0
f0rr0 force-pushed the f0rr0/prefetch-writing-posts branch from c393ebf to 2f1e248 Compare September 28, 2026 14:21
@f0rr0
f0rr0 merged commit 977b454 into next Sep 28, 2026
3 of 4 checks passed
@f0rr0
f0rr0 deleted the f0rr0/prefetch-writing-posts branch September 28, 2026 14:23

This branch was successfully deployed

1 active deployment
Preview — 2f1e2484 Deployed Sep 28, 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