Skip to content

New docs system long first load & huge data usge #7951

@Misha-133

Description

@Misha-133

Description

When I tried to open the docs running on the new docs engine (the intro page) on a phone with a slow internet connection I noticed it took quite a while until the page became interactive (ex. I couldn't open the side menu, etc)

poking it with dev tools later I confirmed it takes it ~4MiB of data to be loaded until the scripts get fetched & the page becomes interactive.

After messing with it a bit more I discovered that the page loads every doc page (omitting the media used on ones) for every topic visible on the topic list. So after just scrolling through it I ended up with 42MiB of data.
And it happens again and again every time page gets reloaded, even with caching enabled. This is huge concern for mobile data usage.

Steps to Reproduce

  • Open the docs on a slow internet connection / simulate through dev tools with disabled cache

  • page stays completely uninteractable until it loads ~4MiB of data (scripts?)

  • scroll the topic list

  • Observe it load 42MiB of data

  • reload the page (it will do it all over again)

Expected Behavior

more caching involved, less amount of traffic used, page usable instantly

Current Behavior

  • A long wait on page reloads
  • 42MiB of data per every page reload

Screenshots/Videos

  • first I confirm it loads 42MiB of data
  • then I reload a page with a throttled connection & try to interact with the page
20251107-1841-11.0475505.mp4

Client and System Information

Chrome 141.0.7390, Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions