why middleware works the first time the page render and then dont update the page ?
Unanswered
Gharial posted this in #help-forum
GharialOP
why middleware works the first time the page render and then dont update the page ?
8 Replies
I think you hit the router cache
https://nextjs.org/docs/app/building-your-application/caching#router-cache
https://nextjs.org/docs/app/building-your-application/caching#router-cache
try again in 30 sec if its a dynamic page or in dev mode
GharialOP
ok thanks, but in production works the same way ? you have to wait 30 secs ?
yes
GharialOP
oh, i will read the link you recomend me
thanks
please mark solution if you problem has been solved😀