community-edition icon indicating copy to clipboard operation
community-edition copied to clipboard

Accessing DOCS page very slow

Open yashwanth2804 opened this issue 3 years ago • 6 comments

https://docs.jsplumbtoolkit.com/toolkit/5.x/

yashwanth2804 avatar Mar 31 '22 17:03 yashwanth2804

Yes I've noticed it can be slow from time to time, particularly the first time you load something. We upgraded it to Docusaurus a while ago, which seemed great, but as time goes on I'm becoming less enamoured with the SPA architecture. It doesn't seem necessary. We might roll back to Docusaurus 1.x.

One particularly vexing thing I have noticed myself is that if you click some link and it's taking a while to load, and you're looking at the blue bar creep across the top of the page, refreshing the browser at that point loads the page instantaneously! The client side router has already rewritten the URL but something is grinding away. So perhaps the first thing to do is to try to figure out if the client side routing can be switched off.

sporritt avatar Mar 31 '22 23:03 sporritt

Middle clicking works instantly. Yes it opens in new tabs, but it beats waiting for that blue react line.

mxmissile avatar Oct 06 '22 19:10 mxmissile

I can't replicate this anymore. And I can't find any reference in the Docusaurus documentation to a way to switch off the react router and let the site just work via page loads.

sporritt avatar Oct 07 '22 21:10 sporritt

I see various other issues that seem to point to the same problem, for instance:

https://github.com/gatsbyjs/gatsby/issues/7876

the behaviour described here correlates with what happens on the jsplumb docs - the URL changes but the transition takes forever. unfortunately that issue has no resolution...

sporritt avatar Oct 09 '22 22:10 sporritt

I have the same problem in my own project. Opening the link in another tab allows for instant loading of the page. However if I just click on the link it can take up to 10 seconds to load the page. In the mean time nothing is happening and it looks like the page is unresponsive. Does anyone have a solution to this? I've also seen multiple people report this problem since 2020. It still hasn't been resolved?

MS3300studios avatar Sep 18 '23 14:09 MS3300studios

Yeah whatever SPA mechanism is being used, is not working. Thanks for the amazing project

christopherreay avatar May 13 '24 17:05 christopherreay