#unstable_cache on vercel not working

5 messages · Page 1 of 1 (latest)

sly plinth
#

Hello, I am trying to make unstable_cache working on vercel. I have a simple example, that I found for example here:

https://github.com/vercel/next.js/blob/canary/test/e2e/app-dir/app-static/app/unstable-cache/dynamic/page.tsx

When build & start locally, cached data remains the same on subsequent page refresh. When deployed on Vercel, random and cachedData are always the same - cachedData are not beeing cached in Data cache.

Anybody can help please?

GitHub

The React Framework. Contribute to vercel/next.js development by creating an account on GitHub.

old lavaBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

sly plinth
#

Seems like updating from v14.2.1 to v14.2.3 helps