-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hi, I saw in several issues unstable_cacheTag and unstable_cacheLife being mentioned. From what I have tested so far I've concluded that the new caching is using a different set of cache handlers (experimental.cacheHandlers instead of the standard cacheHandler).
In our project we are planning ahead and want to build our solution using the new caching and we want to use Redis for shared cache across multiple Node.js instances.
In an ideal world, also the static shells of partial prerendering would be cached in Redis, so each instance doesn't need to hold their own cached files.
In the Next.js 15.4 blog post, they mention the dynamicIO and ppr will merge into a single cacheComponents option. I hope they will document the custom cache handling soon. I asked about it in GH discussions, you can upvote it here: vercel/next.js#81811
Also I wanted to add that I really appreciate how well documented this repo is, kudos.