Tabloid TechFriday 4 December 2026 | Edition No. 11
Back to the paperPast editions
Tabloid Tech, Friday 4 December 2026Software
Software

Vercel CDN lets frameworks set rules for bypassing cached pages

Next.js is the first to use the new rules, which cut needless cache misses for search and chat bots on partially prerendered pages.

EDITOR | Thursday 3 December 2026 | World

A learner uses a tablet in a workshop
File photo.

Vercel's content delivery network now lets frameworks add afterCacheBypass rules. They decide whether to serve a cached page or bypass it, based on headers from the request, the cached response, or both. Frameworks set them through the Build Output API.

Vercel checks the rules in order. If one matches, it bypasses the cache and runs the function, and the response carries x-vercel-cache: BYPASS. If none match, the cached page is served. The rules apply only to prerendered pages, not to API routes or server-rendered pages.

Next.js is the first framework to use them. Previously, on partially prerendered pages, it bypassed the cache for every request from bots that read only HTML, such as Bingbot and Slackbot, because it could not tell whether the cached page had complete head metadata.

With Next.js 16.5 it bypasses only when that metadata is missing, with no setup beyond upgrading. On nextjs.org, over 70% of those requests are now cache hits.

Back to today's paper© 2026 CAQA. Developed by CAQA Online Media Solutions (OMS) Team.