
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
- I have an error oauth with Microsoft
invalid_request: The provided value for the input parameter 'redirect_uri' is not valid. The expected value is a URI which matches a redirect URI registered for...
- how many Teams can be created?
I am creating an app where I will let users create groups. This could mean there will be many groups created by user, to isolate those groups properly I am thin...
- React native app login via Safari
Hi! I deployed for debug my React Native app in web, chrome everythink works well but in safari on mac and ios I cant login. I found this one error in safari co...
