memos icon indicating copy to clipboard operation
memos copied to clipboard

使用2mbps服务器访问需要60秒才能打开主页。

Open gitDebianD opened this issue 1 year ago • 4 comments

Describe the bug

作者您好,我这边使用linux debian11, 2mbps网络速率,一开始以为是带宽实在太低了影响了(的确也是),但之后部署了其他项目,包含(1panel的web界面,nginx的web界面等,都能在最慢2秒内打开页面),通过测试,浏览器没有缓存初次访问memos项目的话,大约需要60秒才能加载出内容,如果在缓存情况下,有时可以做到10秒内,有时又需要30秒内,首页加载非常缓慢,这一点在本地部署的话由于1gbps倒没有任何问题,但是放在云端这类问题特别希望作者能优化,因为很多时候一些轻量化项目没有太多预算成本去购买比较好的服务器,望作者能够优化这个问题,当然这是我自己的问题,谢谢作者提供交流平台和如此好用的开源项目,最后祝作者新年快乐,天天开心。

Steps to reproduce

使用2m服务器打开memos项目会出现非常缓慢加载,其他项目无此类问题。

The version of Memos you're using

最新版本

Screenshots or additional context

No response

gitDebianD avatar Feb 14 '24 07:02 gitDebianD

Issue is not in English. It has been translated automatically.


Title: It takes 60 seconds to open the home page using a 2mbps server access.

Describe the bug

Hello author, I use linux debian11 here, 2mbps network speed. At first I thought it was because the bandwidth was too low (it was true), but then I deployed other projects, including (1panel web interface, nginx web interface, etc. , can open the page within 2 seconds at the slowest). Through testing, if the browser does not cache the memos project for the first time, it will take about 60 seconds to load the content. If it is cached, sometimes it can be done within 10 seconds, and sometimes it can be done within 10 seconds. It takes another 30 seconds, and the homepage is very slow to load. If deployed locally, there is no problem due to 1gbps. However, if it is placed in the cloud, I particularly hope that the author can optimize it, because many lightweight projects do not have much budget and cost. I want to buy a better server and hope that the author can optimize this problem. Of course, this is my own problem. Thank you to the author for providing a communication platform and such an easy-to-use open source project. Finally, I wish the author a happy new year and happy every day.

Steps to reproduce

When using the 2m server to open the memos project, it will load very slowly. Other projects have no such problem.

The version of Memos you're using

The latest version

Screenshots or additional context

No response

Issues-translate-bot avatar Feb 14 '24 07:02 Issues-translate-bot

gitDebianD avatar Feb 14 '24 07:02 gitDebianD

Issue is not in English. It has been translated automatically.


[Auto-reply]: I set up the auto-reply function. This is a holiday auto-reply email from QQ mailbox. Hello, I am currently on vacation and cannot reply to your email personally. I will reply to you as soon as possible after the holiday.

Issues-translate-bot avatar Feb 14 '24 07:02 Issues-translate-bot

因为有一个 gomark wasm 文件有 8mb 左右,首次打开没缓存确实非常缓慢。

related issue: https://github.com/usememos/memos/issues/2917

希望以后的版本可以优化。

Clouder0 avatar Feb 14 '24 13:02 Clouder0

好的,感谢作者的解答,期待在未来的某个版本作者能够优化这个事情,因为他对于上行网速带宽较小用户来说,是一个非常难受的,这么完美的一个项目我经常需要使用,也已经成为了必需品,我用他管理自己的生活带来了很多的方便之处,自从我接触这个项目之后我对他非常的喜爱。

gitDebianD avatar Feb 17 '24 11:02 gitDebianD

Issue is not in English. It has been translated automatically.


Okay, thank you to the author for your answer. I hope that the author can optimize this matter in a future version, because it is very uncomfortable for users with small uplink speed and bandwidth. I often need to use such a perfect project. It has also become a necessity. It has brought a lot of convenience to me in using it to manage my life. I have fallen in love with it very much since I came into contact with this project.

Issues-translate-bot avatar Feb 17 '24 11:02 Issues-translate-bot

Duplicated with https://github.com/usememos/memos/issues/2910

boojack avatar Feb 18 '24 00:02 boojack