
hey there, I am facing an issue when I have any new data in my database i can't see it because of the next js cashing. how can I disable it? I can do it with the next.js fetch method, but here I am confused.

try const _ = cookie()
first line of your function

do you mean cookies from next/header?

first line of the function , you don't want cache.

you can try this:
revalidatePath("path");
Use this function where you add, update or delete data.
path
is the URL where you list/get the documents.
Recommended threads
- Appwrite Fra Cloud Custom Domains Issue
I’m trying to configure my custom domain appwrite.qnarweb.com (CNAME pointing to fra.cloud.appwrite.io with Cloudflare proxy disabled) but encountering a TLS ce...
- Appwrite service :: getCurrentUser :: Us...
Getting this error while creating a react app can someone please help me solve the error
- Storage & Database is not allowing.
Storage & Database is not allowing to CRUD after i have logged in ? Using web SDK with next.js without any SSR or node-sdk.
