How to inspect data cache? #66793
Unanswered
MangoMarcus
asked this question in
App Router
Replies: 1 comment
-
I agree, this would be useful for debugging purposes to know what's being stored in there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm finding Next's caching mechanisms very opaque, which makes them hard to debug and troubleshoot.
I've recently had an issue where using
revalidateTag
doesn't seem to refresh a pre-rendered page on Vercel, I'm guessing there's another layer of caching which should be invalidated but isn't. I haven't been able to resolve it without just clearing the whole data cache on Vercel.It would be very useful to have some visibility / transparency on what exactly's being cached and when.
There's some means to do this locally by trawling the
.next
directory, but there doesn't seem to be any way on Vercel unless I'm missing something??Beta Was this translation helpful? Give feedback.
All reactions