Next.js Discord

Discord Forum

Cache won't invalidate on VPS

Unanswered
Cinnamon posted this in #help-forum
Open in Discord
CinnamonOP
I developed a website using NextJS 12 and recently updated it to 13.4

Everything worked perfectly locally.

But now I uploaded it on a VPS, it is online and it won't pull data from the backend anymore, it loads everything from cache.

I tried to delete the browser cache, tried other devices, it loads the same data from cache, it doesn't request anything from backend anymore.

My functions to get data are in a NPM package and imported into the Nextjs project, the functions use fetch.

0 Replies