Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Average loading time is > 8 seconds #541

Open
1 task
avivace opened this issue Feb 6, 2024 · 2 comments
Open
1 task

Average loading time is > 8 seconds #541

avivace opened this issue Feb 6, 2024 · 2 comments
Labels

Comments

@avivace
Copy link
Member

avivace commented Feb 6, 2024

If we are to believe the new Matomo statistics, pandocs page have a very high average loading time.

  • Investigate further
@ISSOtm
Copy link
Member

ISSOtm commented Feb 11, 2024

I would suppose that's due to the fonts only being loaded after their respective stylesheets, which are ordered after several other rather large ones. That would make bandwidth a major bottleneck on "tight" connection, even with small response times. (I'd guess mobile phones are particularly affected by this?)

Possible solutions to that (putative) problem:

  • Loading these stylesheets first.
  • Adding <link rel="preload"> tags to start loading the fonts early, before they are even "called" by the CSS.

@ISSOtm
Copy link
Member

ISSOtm commented Feb 20, 2024

Sudden thought: how many of those long loads occur on the "single-page" version?

@avivace avivace added the mdbook label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants