
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
- Automatically Assigning the user and tea...
Hey AppWriters! Day 2 for me 😅 I'm reading the docs https://appwrite.io/docs/products/auth/team-invites In order to understand how a document is added then ...
- I create storage and save images in that...
- The current user is not authorized to pe...
There is an error i am facing: `2025-05-17 09:32:05,387 - __main__ - ERROR - Appwrite Exception checking subscription for guild 1025382753790865508: The curren...
