
Vercel Blog · 1 min read
Vercel CDN adds cache bypass rules for frameworks
Learn how to add cache bypass rules in Vercel’s CDN to selectively serve or bypass cached pages based on request and response headers. The guide shows a JSON example for HTML‑limited bots and explains how Next.js 16.5 uses the rule to improve cache hit rates for bots that need full head metadata.
- Define afterCacheBypass rules in vercel/output/config.json to target specific user‑agents.
- Use request.header and cache.response.header conditions to control cache bypass logic.
- Next.js 16.5 automatically applies the rule, boosting cache hits for HTML‑limited bots by 70%+.