Is there a way to load the cached data and re-validate later? #125
Replies: 1 comment 2 replies
-
Nevermind! I was not using with Nuxt, so it was actually reloading the page each time. I am still trying to figure out why there is a significant delay in the first load though...that, I do not understand, and have no idea if it is SWRV related (probably not) or something else blocking the main paint. |
Beta Was this translation helpful? Give feedback.
-
I am having an issue where it seems like every time I visit the page where SWRV is called it is re-validating the data, causing a significant delay before anything is displayed. I am still trying to figure out why there is a long delay, but I thought it might be because it is not using the already cached data immediately.
How do I load the already cached data (if there is some), and then update after if the validation comes back with any differences?
Beta Was this translation helpful? Give feedback.
All reactions