# Runtime logs now show cache reasons

**Published:** July 17, 2026 | **Authors:** Shina Patel

---

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 `Cache-Control` header with directives like `stale-while-revalidate`. Responses rendered dynamically on every request don't have a cache reason.

| 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 |

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 [Cache Status and Reasons](https://vercel.com/docs/caching/cache-status) reference.

![A STALE request with a Time-based revalidation reason in runtime logs.](//images.ctfassets.net/e5382hct74si/4hFlhWg3wzMwquJmxvc4x1/30da221c0f8b823bd1d7fd99fdfa5769/image__13_.png)
*A STALE request with a Time-based revalidation reason in runtime logs.*

### From the CLI

Cache reason is available in `vercel logs`, `vercel metrics`, and Vercel plugin's [cdn-caching skill](https://www.skills.sh/vercel/vercel-plugin/cdn-caching):

```bash
# Inspect the cache reason for a request with vercel logs:
vercel logs \
  --request-id <request-id> \
  --expand --json \
  --project <project> \
  --scope <team>

# Quantify how often each reason occurs across your traffic with vercel metrics:
vercel metrics vercel.request.count \
  --group-by cache_reason \
  --since <time> \
  --project <project> \
  --scope <team>

# Debug caching at scale using the cdn-caching skill in the Vercel plugin:
npx skills add https://github.com/vercel/vercel-plugin --skill cdn-caching
```

Learn more about [cache statuses and reasons](https://vercel.com/docs/caching/cache-status).

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)