Skip to content

Docs are slow to load on slow internet #7535

@mb64

Description

@mb64

The generated documentation currently loads a 10-megabyte data.js file with all the data on startup. On my home internet, this typically takes ≥20 seconds to load. (Firefox says it took 22 seconds just now.) While the browser cache definitely helps, it would be good to not require transferring a 10-megabyte file when documentation is loaded.

Short of restructuring how generated documentation works, compression helps a lot. (gzip reduces size 10x.) This might be as easy as tweaking some settings on the ziglang.org server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsenhancementSolving this issue will likely involve adding new logic or components to the codebase.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions