讨论 » 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://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管理员
§
发布于: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.

JasonBarnabe管理员
§
发布于:2023-09-23

How about now?

§
发布于:2023-09-23

How about now?

Great! Within a second now. Thanks

发布留言

登录(不可用)以发布留言。

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