Commit 281eace2 authored by Gandalf's avatar Gandalf
Browse files

Disable Link prefetch for profile and post pages

Add prefetch={false} to Link components that navigate to profile pages
(/@username) and post pages (/category/@author/permlink) to prevent
excessive API calls.

Next.js prefetches linked pages when they enter the viewport, triggering
SSR which calls multiple APIs (profile data, reputation, Twitter info,
etc). A single trending page with 20 posts was causing 140-180 API calls
just from prefetching.

This change reduces API load on decentralized Hive nodes and third-party
services while maintaining full SEO compatibility (crawlers don't use
prefetch).
parent 09147f13
Loading
Loading
Loading
Loading