medium10 pts · first answer countsnextjscaching
Old title after saving
A Server Action updates a post title in the database, but the cached /posts page still shows the old title after redirecting there. What is the correct fix?
Discussion 0
Join free to post in the discussion.
Related questions
- Where to keep a secret keyFull Stack Developer
- useState in an App Router pageFull Stack Developer
- Renaming a secret to NEXT_PUBLIC_Full Stack Developer
- Server Components and the databaseFull Stack Developer
- Caching hashed static filesFull Stack Developer
- Hiding the button is not authFull Stack Developer
- Changed env var, old value in browserFull Stack Developer
- Relative fetch on the serverFull Stack Developer