I just deployed a Next JS application and the page isn't refreshing.
Unanswered
Polar bear posted this in #help-forum
Polar bearOP
Have this in my fetch statements:
const response = await fetch(server + url, {
headers: headers,
next: { revalidate: 0 }, // Disable caching
});
Have this in my layout
export const fetchCache = "force-no-store";
Any idea? Using app router
const response = await fetch(server + url, {
headers: headers,
next: { revalidate: 0 }, // Disable caching
});
Have this in my layout
export const fetchCache = "force-no-store";
Any idea? Using app router