Next.js Discord

Discord Forum

Cached Data

Unanswered
LaPerm posted this in #help-forum
Open in Discord
Avatar
LaPermOP
Where is the cached data stored? Is it saved in the device of the client? Does the client cache the data when it opens the web for the first time? there's been a confusion for me because it said globally distributed.

9 Replies

Avatar
LaPermOP
please ping me while replying
isn't it the same if its cached somewhere else than the device because you are making a request either way
Avatar
LaPermOP
oh i got a good grapple from reading what cdn is
but wouldn't caching on the device be a good feature too?
Avatar
Eric Burel
@LaPerm caching is a general mechanism so you have to be specific about which cache your are talking about
it could be Next.js data cache, Next.js router cache, the CDN cache, your browser cache
Relevant docs: