next.js
9b97a43b - Fix `revalidateTag` with `fetch` and `"use cache"` (#72075)

Commit
1 year ago
Fix `revalidateTag` with `fetch` and `"use cache"` (#72075) We already propagate tags from `fetch` calls to the work unit store. For `revalidateTag` to work properly for `fetch` calls in `"use cache"`, we also need to consider the other direction, and add tags from the work unit store to the tags that are used for the fetch cache entry in the cache handler. fixes #71924
Author
Parents
Loading