-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Optimize the loading of comment counter [solved] #271
Comments
This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
For the second question, maybe we can use jsdelivr CDN: |
* Fix theme-next#271 comment counter * Update _config.yml * Update lean-analytics.swig * Update lean-analytics.swig * Update post.swig * add this
This thread has been automatically locked since there has not been any recent activity after it was closed. It is possible issue was solved or at least outdated. Feel free to open new for related bugs. |
I agree and want to create new issue
on my blog ,comment limit loading rate of sit, that maybe also for many users.
although some comment plug-in not block the main thread on page showing, it still load and a loading icon show on chrome status bar. others plug-in even block the page showing.
i used gitment,youyan,changyan,LiveRe , now i used valine,
comment counter default loading on homepage.
i think there should be a option to control the comment counter plug-in in homepage also postpage.
if i set show 5 post in homepage , there will be 10 http requests, and cdn won't work on it;
some js file url should write in _config.yml such as
hexo-theme-next/layout/_third-party/comments/valine.swig
Lines 1 to 3 in d4475e5
hexo-theme-next/layout/_third-party/analytics/lean-analytics.swig
Lines 3 to 5 in d4475e5
cdn1.lncld.net is really slow
The text was updated successfully, but these errors were encountered: