Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW]: fetchOptions in TS SDK #200

Open
kostasb opened this issue Dec 27, 2023 · 0 comments
Open

[NEW]: fetchOptions in TS SDK #200

kostasb opened this issue Dec 27, 2023 · 0 comments

Comments

@kostasb
Copy link
Contributor

kostasb commented Dec 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants