Greasy Fork is available in English.

مۇنازىرىلەر » Greasy Fork قا ئىنكاس

Jason, could the loading time for user page after logged in improve?

§
يوللانغان ۋاقتى: 2023-09-21

I found that the loading of my user page is very slow.

Then I use Private Window to load the same page without login.

And record both time for comparison.

It is 4x slower than without logged in.

Only the following are not shown in Private Mode.

  • Control panel
  • Discussions on your scripts
  • Recent conversations

The file size is 31.8 kB vs 26.2 kB

I don't expect there would be 4x slower.

Or can you provide a link like https://greasyfork.org/en/users/371179?nodetail=true such that it can load without Discussions on your scripts and Recent conversations to load it much faster like Private Mode?

Btw, I think Discussions on your scripts and Recent conversations can be loaded async after the main page is loaded, just make them with JSON API.

§
يوللانغان ۋاقتى: 2023-09-21
§
يوللانغان ۋاقتى: 2023-09-23

I've put in some performance improvements here - is it noticeably better now?

§
يوللانغان ۋاقتى: 2023-09-23

I've put in some performance improvements here - is it noticeably better now?

Not really. It is now constantly 478ms and 2.44s respectively.

§
يوللانغان ۋاقتى: 2023-09-23

How about now?

§
يوللانغان ۋاقتى: 2023-09-23

How about now?

Great! Within a second now. Thanks

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.