Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page access is severely lagging 页面访问严重卡顿 #3269

Open
shizhihen2003 opened this issue Apr 23, 2024 · 1 comment
Open

Page access is severely lagging 页面访问严重卡顿 #3269

shizhihen2003 opened this issue Apr 23, 2024 · 1 comment
Labels
bug Something isn't working Stale

Comments

@shizhihen2003
Copy link

Describe the bug

网页运行时加载缓慢,在网页快速点击不同功能会卡顿,在/explore网页严重卡顿,点击留言或者贴表情的功能会卡顿2-3s,
运行docker的服务器为美国洛杉矶的的1g带宽服务器,通过cloudflare测试,美国本土访问仍严重卡顿。
通过抓包发现SearchUsers等加载时间较长(图片除外)
浏览器版本 :chrome 124.0.6367.60(正式版本) (arm64)
我应该如何修复这个问题?同时,是否可以在网页展示预览图而不是原图来减少加载时间?谢谢。
这个问题在chrome电脑版和momes的手机版中非常严重,在edge的电脑版中不突出。
The web page loads slowly when it runs, it will be stuck when you quickly click on different functions on the web page, it will be seriously stuck on the /explore web page, and the function of clicking on the message or sticking an emoji will be stuck for 2-3s.
The server running Docker is a 1G bandwidth server in Los Angeles, USA, and through Cloudflare testing, the US local access is still seriously stuck.
Packet capture shows that SearchUsers takes a long time to load (except for images)
Browser version: Chrome 124.0.6367.60 (Official Version) (arm64)
How can I fix this?Also, can I show a preview image on the web page instead of the original image to reduce the load time?Thank you.
This issue is very serious in the computer version of Chrome and the mobile version of Momes, and is not prominent in the computer version of Edge.
CleanShot 2024-04-23 at 21 15 58@2x
CleanShot 2024-04-23 at 20 52 38@2x
CleanShot 2024-04-23 at 20 52 30@2x

Steps to reproduce

1.在memos中创建几个用户上传自己的头像(1-2m)
2.发布几条笔记并上传原图照片
3.快速切换网页功能或者在/explore页面下对他人笔记贴表情或者留言

  1. Create several users in memos and upload their own avatars (1-2m)
  2. Post a few notes and upload a photo of the original image
  3. Quickly switch web functions or post emojis or messages on other people's notes under the /explore page

The version of Memos you're using

v0.21.0

Screenshots or additional context

CleanShot 2024-04-23 at 21 15 58@2x
CleanShot 2024-04-23 at 20 52 38@2x
CleanShot 2024-04-23 at 20 52 30@2x

@shizhihen2003 shizhihen2003 added the bug Something isn't working label Apr 23, 2024
@shizhihen2003
Copy link
Author

我使用的https,启用了http/3支持与gzip等,这会是影响因素吗?
I'm using https, HTTP/3 support enabled with gzip etc, could this be a factor?

@github-actions github-actions bot added the Stale label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

1 participant