You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From Next.js docs on Caching Data:
fetch requests that use the POST method are also automatically cached. Unless it's inside a Route Handler that uses the POST method, then it will not be cached.
Since queries use POST, it means results from Xata that are not performed from route.ts are actually cached.
Priority
Low
Description
Document the fetchOptions parameter
How will this impact users?
From Next.js docs on Caching Data:
fetch requests that use the POST method are also automatically cached. Unless it's inside a Route Handler that uses the POST method, then it will not be cached.
Since queries use POST, it means results from Xata that are not performed from route.ts are actually cached.
Context
https://discord.com/channels/996791218879086662/1188892129259438091/1188892129259438091
Suggested resolution
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: