Commit Graph

1 Commits

Author SHA1 Message Date
conico974 00d3c8307d Revalidate "use cache" caches during on-demand revalidation (#76100)
### What?
When doing an On Demand revalidation (with `res.revalidate` or using
`x-prerender-revalidate` header ), `use cache` entry will never get
revalidated

### Why?
It should behave the same as the fetch cache or `unstable_cache`

### How?

We force revalidation of `use cache` entry when doing an on demand
revalidation

---------

Co-authored-by: Hendrik Liebau <mail@hendrik-liebau.de>
2025-02-17 18:13:07 +01:00