Συζητήσεις » Greasy Fork镜像 Ανατροφοδότηση

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

§
Δημοσιεύτηκε: 21/09/2023

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://greasyforks.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.

JasonBarnabeΣυντονιστής
§
Δημοσιεύτηκε: 23/09/2023

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

§
Δημοσιεύτηκε: 23/09/2023

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

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

JasonBarnabeΣυντονιστής
§
Δημοσιεύτηκε: 23/09/2023

How about now?

§
Δημοσιεύτηκε: 23/09/2023

How about now?

Great! Within a second now. Thanks

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.

长期地址
遇到问题?请前往 GitHub 提 Issues。