Replies: 1 comment 1 reply
-
This is not really PocketBase specific and Next.js questions are better addressed at its related support channels.
Try with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm using Nextjs 14, I wrote a route handler to get records from pb, and I need to cache some records so that I don't get actual data every time, or get them on-demand.
I tried to use revalidate in the route handler, but it did not lead to the desired result, every time I access the route handler, it gives me the actual data, not cached.
I tried to use revalidate in component and that also came to nothing:
Beta Was this translation helpful? Give feedback.
All reactions