hexo优化网站性能记录-持续更新

发布时间:
更新时间:
👀 阅读量:

2024-10-15-135544 优化前的效果:(

使用插件hexo-all-minifier

如果你访问github有困难,可以访问此镜像库hexo-all-minifier

这里我选择静默的原因是因为这些插件的输出日志影响hexon的加载

all_minifier: true
js_concator:
enable: true
bundle_path: '/js/bundle.js'
front: false
silent: true
html_minifier:
enable: true
ignore_error: false
silent: true
exclude:
css_minifier:
enable: true
silent: true
exclude:
- '*.min.css'
js_minifier:
enable: true
mangle: true
silent: true
output:
compress:
exclude:
- '*.min.js'
image_minifier:
enable: true
interlaced: false
multipass: false
optimizationLevel: 2
pngquant: false
progressive: false
silent: true

这个是优化后的效果 2024-10-15-143007

爆赞!

hexo优化网站性能记录-持续更新

作者: xingwangzhe

本文链接: https://xingwangzhe.fun/posts/9f6ebe30

本文采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可。

留言评论

2000年1月1日星期六
00:00:00