NextJS Server Cache?
Noticed some odd behaviour in my NextJS app where I have a simple table which uses data fetched via server action.
I updated the data in my database, but the table still had the old data. I cleared storage, but the table still had the old data.
Then I redeployed NextJS, and the new data was now visible.
What's could the cause be & how can I fix it?
I updated the data in my database, but the table still had the old data. I cleared storage, but the table still had the old data.
Then I redeployed NextJS, and the new data was now visible.
What's could the cause be & how can I fix it?