- Clone and run https://github.com/amannn/nextjs-bug-router-cache in dev mode
- Open http://localhost:3000/
- "Index (en)" renders
- Click "Go to /a"
- "A (en)" renders
- Click "Go to /"
- Click "Change locale to "de""
- "Index (de)" renders
- Click "Go to /a"
- Error
Now the error that you might see can be one of the following:
A segment mismatch
Incorrectly cached page
"Index (en)" might render (from Router Cache)