#how to Disable Caching in Next js for appwrite fetching.
4 messages · Page 1 of 1 (latest)
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.
4 messages · Page 1 of 1 (latest)
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.