fix: disable route prefetching app-wide to avoid spurious requests

Wrap next/link in a shared Link component that ships prefetch=false by
default, so no route is ever prefetched (viewport or hover) anymore, and
drop the DNS prefetch hint. Removes hidden background requests that were
the source of intermittent issues.
This commit is contained in:
openhands committed 2026-08-29 19:27:13 +02:00
1 parent 944e8ff1d8
commit 7a41775c7e
136 files changed
+141 -143

No files matched your search

+1 -1
View File
@@ -1,9 +1,9 @@
"use client";
import { LayoutDashboard, RefreshCw } from "lucide-react";
import Link from "next/link";
import { useTranslations } from "next-intl";
import { useEffect } from "react";
import Link from "@/components/link";
import { Button } from "@/components/ui/button";
/**