Next.js caching

Hey guys, I'm having a hard time understading what is wrong here. I made a simple repo: https://github.com/HellYeahOmg/revalidate-test

Main page has a get request for some items, the second page has a form to add items. After submitting the form i expect to see the updated result on the main page.

I added every disabling cache option i could, but it still doesnt work unless i hit router.request() or revalidatePath(). Why so?
GitHub
Contribute to HellYeahOmg/revalidate-test development by creating an account on GitHub.
Was this page helpful?