Sometimes I have a problem with Firefox - when I try to open a page, it takes very long to load the page. It happens for both firefox and firefox-esr packages
By comparison, pages in Brave don’t not take a long time to load. I opened both (Firefox and Brave) at the same time and the delays were only in Firefox (Brave loads instantly).
It looks like the issue still appears when I open a new Firefox (and there isn’t any other Firefox open). The starting page (duckduckgo.com) is loading long (as before).
However, when Firefox is already open and I open pages in new tabs, the issue doesn’t exist. But maybe I need more time to confirm that
Is it slow to load the first time you visit a website? If so, it’s a DNS problem. Once it’s cached, it’s working.
This would mean you the first resolver in your list isn’t working, and your system is waiting for a timeout to use the secondary resolver, which will resolve. The problem won’t appear immediately after because you have a local DNS cache.
Now that you mention it, yes, I have this too. It’s quite noticeable if you run multiple Firefox profiles, there seems to be an initial delay for page loads when starting the browser.
Is this actually NixOS specific or does Firefox just take longer to start initially than other browsers? Firefox tends to be open most of the time for me, so I hardly notice when actually using it, and don’t have a non-NixOS system around these days.
Disabling ublock origin actually noticeably improved things for me, so it could well be caused by add-ons. Not that I’d use Firefox without it anyway, but nice to know there’s a reason.
Disabling ublock origin actually noticeably improved things for me, so it could well be caused by add-ons. Not that I’d use Firefox without it anyway, but nice to know there’s a reason.
Oh, I disabled ublock, and also noticed much shorter loading. But I’m going still use ublock (the initial loading isn’t worth disabling it)