Pinia stores getting cached in Vercel #2831
Unanswered
ejerskov
asked this question in
Help and Questions
Replies: 1 comment
-
You might be using the stores wrong: https://pinia.vuejs.org/ssr/#Using-the-store-outside-of-setup- |
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 have a basic implementation of pinia stores on my site and when running it on Vercel with caching (ISR) all stores are cached and then available for all users.
Some of the stores could make sense to cache for all but my authStore definitely shouldn't.
Is it default behaviour for the stores to be cached? And what can I do to avoid it?
Beta Was this translation helpful? Give feedback.
All reactions