jerryc127 / hexo-theme-butterfly

🦋 A Hexo Theme: Butterfly
https://butterfly.js.org
Apache License 2.0
6.82k stars 1.24k forks source link

[Bug]: 本地搜索有的无法运行 #1436

Closed W1ndys closed 5 months ago

W1ndys commented 5 months ago

使用的 Butterfly 版本? | What version of Butterfly are you use?

4.12.0

是否修改过主题文件? || Has the theme files been modified?

不是 (No)

使用的瀏覽器? || What browse are you using?

Chrome

使用的系統? || What operating system are you using?

Windows

依賴插件 | Package dependencies Information

$ npm ls --depth 0
hexo-site@0.0.0 F:\blog\blog-butterfly
├── @renbaoshuo/markdown-it-katex@2.0.2
├── hexo-deployer-git@4.0.0
├── hexo-generator-archive@2.0.0
├── hexo-generator-category@2.0.0
├── hexo-generator-index@3.0.0
├── hexo-generator-searchdb@1.4.1
├── hexo-generator-tag@2.0.0
├── hexo-renderer-ejs@2.0.0
├── hexo-renderer-markdown-it@7.1.1
├── hexo-renderer-pug@3.0.0
├── hexo-renderer-stylus@3.0.1
├── hexo-server@3.0.0
├── hexo-theme-butterfly@4.12.0
├── hexo-theme-landscape@1.0.0
├── hexo@7.0.0
└── katex@0.16.9

問題描述 | Describe the bug

本地搜索,电脑端在时间轴页面的本地搜索点击无反应,在某些博文页面中点击无反应 手机端在首页点击无反应

出現問題網站 | Website

https://w1ndys.top/archives

W1ndys commented 5 months ago

问题好像存在于未加载完全无法使用搜索 但是加载太慢了 有没有方法优化一下

jerryc127 commented 5 months ago

你的文章越多,你的搜索文件就越大,自然加載的時間就越長 這個基本無解,你可以嘗試下把搜索文件更換更快的 CDN 或者讓你的搜索文件不包含文章内容,只包含標題

W1ndys commented 5 months ago

好的,谢谢,那就closed吧,这边应该没什么继续讨论的需要了qaq

jerryc127 commented 5 months ago

免費的就是這樣 你要是用 alogia 會員 上 alogia 會更好