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.
TL;DR
To disable caching in Next.js for Appwrite fetching, use the `revalidatePath("path");` function where data is added, updated, or deleted. Replace `"path"` with the URL of the documents. For cookie-related concerns, use `const _ = cookie()` at the beginning of the function. This approach should resolve the issue with Next.js caching causing new data in the database not to be visible.