Skip to content

Remote sessions take ~2 minutes to load on a phone #1617

Description

@giladbarnea

Thanks for Plannotator. I use it daily and it makes my life easier.

A cold session takes about two minutes before the document shows on my phone, even on 5G.

I review a lot from my phone (iPhone 17 Air): the Mac serves the session and the phone reaches it with --tailscale.

Same cause as #926, where a load takes seconds on loopback. Over a tunnel it takes minutes: each session serves the whole app as one uncompressed file (25 MB for plans, 18 MB for code review), and each session is a new port, so nothing is cached.

Cold loads of main, throttled to my phone's tunnel speed (206 KB/s, 159 ms):

Downloaded Usable after
Plan UI 25.2 MB 120 s
Code review UI 18.2 MB 87 s

Gzip on the page alone brings the plan UI to 37 s.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions