Next.js Discord

Discord Forum

nextjs digitalocean app platform, old cache problem

Unanswered
Penta posted this in #help-forum
Open in Discord
how can i remove the old cache in my nextjs app? its stuck on an old version, my index page has the old css and its not taking updates like i18n json translation files in general. the api files update fine.

also the preview app link that digital ocean gives me is fully updated, however in the domain its still old.

is it possible to just go in console and delete cache folder while in production? im stuck i would really appreciate help.

3 Replies

There's a weird thing that happens, if I access the index page from another page, sometimes it shows up with the correct changes and loads the new files.
However, it normally uses the old build cache
Anyone has any idea?
Please