This repository is dedicated to reproduce error for following issue on nextjs: vercel/next.js#66540
When a 404 page is cached the status of page never change even if page component doesn't return notFound() anymore.
npm installnpm run demo- Go to: http://localhost:3000/hello-2
- edit demo/articles.json and modifiy slug from hello to hello-2
- Refresh http://localhost:3000/hello-2 until “Hello world” appears
- Chek network tab and http://localhost:3000/hello-2 still with a 404 status