Next.js Discord

Discord Forum

unstable_cache on vercel not working

Answered
Silver Marten posted this in #help-forum
Open in Discord
Silver MartenOP
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?
Answered by Silver Marten
Seems like updating from v14.2.1 to v14.2.3 helps
View full answer

3 Replies

Silver MartenOP
Silver MartenOP
Seems like updating from v14.2.1 to v14.2.3 helps
Answer