pandocs icon indicating copy to clipboard operation
pandocs copied to clipboard

Average loading time is > 8 seconds

Open avivace opened this issue 1 year ago • 2 comments

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

  • [ ] Investigate further

avivace avatar Feb 06 '24 23:02 avivace

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 avatar Feb 11 '24 19:02 ISSOtm

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

ISSOtm avatar Feb 20 '24 09:02 ISSOtm