multiple logs on reload
Answered
Arboreal ant posted this in #help-forum
Arboreal antOP
i recently noticed that it logs the same thing multiple times on page reload, its very annoying as i have to scroll up just to find the thing i need, i also have reactStrictMode set to false
Answered by Western paper wasp
Maybe you have the same page open in multiple browsers or in multiple tabs, and the browser(s) are requesting the favicon for each instance separately?
5 Replies
Western paper wasp
This is 4 separate requests to favicon.ico
Not the same request being logged 4 times
you can tell because the timing is different
you can tell because the timing is different
so the problem is not in next.js, it’s in your browser(s) making duplicate requests
Western paper wasp
Maybe you have the same page open in multiple browsers or in multiple tabs, and the browser(s) are requesting the favicon for each instance separately?
Answer
Arboreal antOP
ah, because once i ran the production build this didnt happen, welp thats gone now so this is resolved