platforms
platforms copied to clipboard
Caching bug between two tabs
- visit official demo, login and create a site.
- click the created site and create a post, publish it
- back to all posts list, open the post list page in another chrome tab called "Tab 2"
- Edit the post at Tab 1, eg: change title, unpublish it, auto save. back to post list, the post preview shows changed content.
- [!!!BUG!!!]Switch to Tab 2, click links on page navigate to another route : /Analytics, /settings, /site list... then navi back to the post list, the post preview still shows the old post status before step 4!
- hard refresh Tab 2 by browser, the content goes correct as expect.
Seems official template of vercel still has the problem with soft navigation and cache. If use fetch instead of prisma client, the bug goes worse that you don't need 2 tabs to find this bug.
I found the same error. Any solutions to this?