Runtime logs now show cache reasons
Runtime logs now display detailed cache reasons explaining why requests weren't fresh cache hits, such as time-based or tag-based revalidations. This helps developers debug cache misses and improve cache hit rates across ISR, Partial Prerendering, and functions.
Runtime logs now show a Cache Reason explaining why a request wasn't a fresh cache hit, for example a time-based or tag-based revalidation. Use cache reasons to debug misses and improve your hit rate.
Cache reasons appear for any response the CDN can cache, including ISR, Partial Prerendering, and functions that set a header with directives like . Responses rendered dynamically on every request don't have a cache reason.Cache-Controlstale-while-revalidate
Open the Logs tab and select a request to see the reason alongside its cache status. Each status and reason links to its entry in the reference.Cache Status and Reasons
Cache reason is available in , , and Vercel plugin's :vercel logsvercel metricscdn-caching skill
Learn more about .cache statuses and reasons
Cache status | Possible reasons |
MISS | Cold, Request collapsed, Error |
BYPASS | Draft Mode, Prerender Bypass, Crawler |
STALE | Time-based revalidation, Tag-based invalidation, Revalidation error |
REVALIDATED | Tag-based deletion |
From the CLI
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
Updates to Hobby and Pro Terms of Service
Vercel is updating Terms of Service for Hobby and Pro customers effective October 19, 2026, clarifying credit policies, managed accounts, auto-renewal practices, and adding statutory cancellation and refund rights for UK and EU consumers, including protections for service changes with negative impact.
Mercury 3 now available on AI Gateway
Inception's Mercury 3 model is now available on Vercel's AI Gateway with 50% launch pricing and generation speeds exceeding 1,000 tokens per second. The model enables parallel text refinement with a 1M-token context window, ideal for real-time applications like browser agents and customer support.
MiniMax M3.1 Flash now available on AI Gateway for free
MiniMax M3.1 Flash, an open-weight multimodal model with 1M-token context window for coding and agentic work, is now available on Vercel's AI Gateway at no cost through October 20. The model excels at complex agent tasks, coding applications, and cybersecurity work, and can be used through multiple APIs and coding agents.