Topic Tag Archive

#App Router

← All Articles

Showing 7 articles

Frontend26 Aug 2026

Your Next.js Proxy Is Probably Adding 300ms to Every Request

How to build a fast, edge-compatible proxy.ts in Next.js App Router — stateless JWT auth with jose, HTTP-based Redis rate limiting, and a matcher config that stops running on every image request.

6 min readRead ↗
Frontend26 Aug 2026

Stop Overusing revalidatePath — Fix Stale Next.js Caches with Tags Instead

revalidatePath() purges entire route trees and wastes database calls. Here's how hierarchical revalidateTag() fixes stale ISR reads without the origin load.

5 min readRead ↗
Frontend22 Aug 2026

Next.js Server Components + TanStack Query: Fixing Double-Fetches and Cache Drift

How to pair Next.js App Router Server Components with TanStack Query v5 without double-fetching, leaking data across requests, or serving stale caches after mutations.

6 min readRead ↗
Frontend22 Aug 2026

Stop Double-Fetching in Next.js App Router with TanStack Query

How to prefetch on the server, hydrate on the client, and keep your cache in sync after Server Actions — without the double-fetch penalty or leaking data across requests.

6 min readRead ↗
Frontend20 Aug 2026

Fix React 19 Hydration Mismatches in Next.js

Fix React 19 and Next.js App Router hydration errors caused by localStorage reads, timezones, and extensions. Recover layout stability and fast SSR.

6 min readRead ↗
Frontend17 Aug 2026

Next.js Partial Prerendering in Production: The Suspense and Cache Traps Nobody Warns You About

A practical look at Next.js Partial Prerendering — how to structure Suspense boundaries correctly, why cookies() can silently kill your static shell, and how to stop CDNs from leaking one user's data to another.

6 min readRead ↗
Frontend13 Aug 2026

revalidateTag() Works Locally and Fails in Production: Fixing Next.js Cache Sync Across Multiple Nodes

Why revalidateTag() and revalidatePath() silently stop working once your Next.js App Router app runs on more than one server instance, and how to fix it.

5 min readRead ↗