next.js
00d3c830 - Revalidate `"use cache"` caches during on-demand revalidation (#76100)

Commit
1 year ago
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>
Author
Parents
Loading