You are reading a single comment by @aggi and its replies. Click here to read the full conversation.
  • This is interesting.

    Grafana Faro is an experiment I'm trying - it reports JavaScript errors back to me, and normally I'm blind on those so if I can start seeing them perhaps I can fix them.

    But it should be 100% async and not impact page loading at all.

    Do you know how to record a HAR file? https://support.zendesk.com/hc/en-us/articles/4408828867098-Generating-a-HAR-file-for-troubleshooting

    Could you make a HAR file for a page that loaded slowly and send that to me (via DM or email to lfgss@david.kitchen) - do not post it in this thread as it will include your cookies including any authentication.

    The HAR file will allow me to see whether network is the issue.

    If it isn't network, then it's going to be something in the client such as config or an add-on. I'm on Firefox too and do not see any speed delays or loading issues.

    From a very first glance, I actually think the network is fine and you're more likely to have an add-on that is delaying the page being painted / rendered rather than any delay in the server processing or the client receiving the page. The HAR file will at least confirm it's not the server or network.

  • Taken a look - you have something on your system that is pausing the request connections.

    If I had to suspect: You have an antivirus program or something like an extension, it is only delaying .js files (hence my suspicion on antivirus -but anything that wants to interfere with JavaScript is an option, i.e. an adblocker).

    The HAR file showed all of the network communication was done in milliseconds.

    But a client side (Grafana Faro) trace shows me the page took 10.7 seconds, and shows me why.

    The why is that every .js was frozen in the client itself for precisely 9 seconds.

    I have no idea why - but the best guess is that you have antivirus or an extension or a network proxy on your side, that is ultimately choosing to hold these requests for a short time before fully releasing them to the browser.

    As a consequence of them being JavaScript files, the browser cannot paint the screen and they block/delay the page load.

About

Avatar for aggi @aggi started