No badges yet
No accepted solutions yet
Allow adding cache tags that depend on the response of `fetch` or `unstable_cache`
It seems like the new `"use cache"` system would allow this to work, as long as we can call `cacheTag` *after* `await`! ``` function cached() { const res = await fn() const tags =...
Allow adding cache tags that depend on the response of `fetch` or `unstable_cache`
Cross-posting this from [GitHub discussion](https://github.com/vercel/next.js/discussions/65521), in the hopes this gets more traction here. ### Usecase In some cases it might be...