EdgeCases Logo
15 articles

Next.js Edge Cases

App Router, RSC, caching, and deployment gotchas

Start Here

Essential reads to understand the key concepts and patterns.

More Articles

Surface·6 min

Vercel Blob Storage: When It Makes Sense (and When It Doesn't)

Average-based billing, 15-minute sampling, and when Vercel Blob beats S3/R2—and when it doesn't.

Deep·7 min

Neon on Vercel: The Connection Pooling Maze

Edge can't do TCP, serverless exhausts pools—here's when to use pooler endpoint vs @neondatabase/serverless vs raw WebSocket.

Expert·8 min

Vercel Billing Demystified: Edge Requests, Function Duration, and ISR Costs

How $20/month becomes $200: Edge Requests, Function duration, ISR costs, regional multipliers, and the billing gotchas Vercel doesn't highlight.

Surface·6 min

ISR Build Time Reduction: From Minutes to Seconds

Stop pre-rendering 500 pages at build time—use ISR to generate on-demand and cut deploys from minutes to seconds.

Expert·8 min

Vercel Image Build Bottleneck: CDN Migration and OG Generation

Images in /public cost build time even with 'on-demand' optimization. Move to external CDN and generate OG images at runtime for 2-3 minute savings.

Deep·6 min

Prisma 7: The Rust-Free Future

Wasm engine replaces Rust binary—90% smaller bundles and zero cold starts

Surface·8 min

Next.js 16: Dynamic by Default, Turbopack Stable, proxy.ts

Explicit caching with 'use cache', Turbopack as default bundler, and proxy.ts for Node.js runtime clarity

Deep·8 min

Turbopack: Next.js 16 Default Bundler (2-10× Faster)

Rust-powered bundler with incremental compilation, file system caching, and production parity with Webpack

Deep·8 min

proxy.ts: Node.js Runtime for Next.js Request Interception

Full filesystem and npm package access in middleware—proxy.ts replaces middleware.ts with Node.js runtime

Deep·8 min

Next.js 16 Incremental Prefetching: Smart Route Preloading

Layout deduplication, viewport-based cancellation, and interaction prioritization reduce redundant requests