Next.js Discord

Discord Forum

Curious about data cache in next v15

Unanswered
Cape lion posted this in #help-forum
Open in Discord
Cape lionOP
Hi! I am running https://blrmeetups.in on Next v15 and just added data cache for upcoming events on the home page

I checked with different devices at different times and noticed that the cache data seems to be different (i.e, different upcoming events are showing up for different devices when visiting the website at different times)

My question is if the data cache is per-user/per-device? I thought that the data cache acts as a cache similar to a kv store like Redis where the same data would be returned. I am also revalidating the data after 10 hours in case that is helpful

I went through the docs and it mentioned that this data is persisted across deployments, etc. But seeing different data got me curious about this. Any help would be appreciated 🙂

0 Replies