Skip to content

[Bug]: Web client initial load is very slow (90 seconds) in Chrome (compared to Firefox - 4 seconds) #5385

Description

@cpatulea

Category

WiFi

Hardware

Heltec V3

Firmware Version

2.5.11.8e2a3e5

Description

Chrome (~90 seconds):

Screen.Recording.2024-11-17.at.2.51.14.PM.1.mov

Firefox (~4 seconds):

Screen.Recording.2024-11-17.at.2.59.48.PM.1.mov

I think this is because Chrome re-establishes the connection (TCP+TLS) for each request:
Screenshot 2024-11-17 at 3 17 12 PM

Screenshot 2024-11-17 at 3 18 42 PM

Connection keep-alive is supposed to work, and make a huge difference, as seen in Firefox, where each request takes only ~60 ms.

I thought I figured out the reason Chrome connections don't keep alive but I found some conflicting clues so now I'm not so sure I understand why.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions