Skip to content

ideas to speed up initial load of docs #570

@dsokolsky

Description

@dsokolsky

From @hunterhacker

I notice that docs.marklogic.com takes a long time to load initially, when I'm in an overseas location. Lots of net waiting. I suspect one thing that's slowing things down is there's a big .js file that isn't cached and isn't compressed. Making it both cached and compressed would really speed things up. The fact it has a timestamp in its name means you can send headers to perma-cache it. It's 760 KB which is a good chunk pulling across the Pacific.

Doing similar with CSS would give even more boost.

I suspect it does an XHR or something pull to get the API docs? Even when the rest of the page is loaded those take a while too to render. So maybe some compression or (non-perma) caching there too would help.

jason

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions