Comments (12)
In my case, I replace the fontawesome css file with CDN, which works for me. Edit theme/next/_config.yml
# Internal version: 4.6.2
# See: http://fontawesome.io/
fontawesome: https://cdn.bootcss.com/font-awesome/4.6.2/css/font-awesome.min.css
from hexo-filter-optimize.
fixed it by adding this line - sed -i'' "s~../fonts/~lib/font-awesome/fonts/~g" themes/next/source/lib/font-awesome/css/font-awesome.min.css
in the .travis.yml
from hexo-filter-optimize.
i confirm the same. enabling css optimization breaks the font awesome icons. Need help on the same.
Thanks!
from hexo-filter-optimize.
@anbuchelva as for me, i turned out to use gulp for compressing, but honestly I feel like all these methods(this module, hexo-all-minifier, and gulp-way) don't make my blog faster in Google's speed test.
from hexo-filter-optimize.
@liolok github pages doesn't cache your site, you can do it using cloudflare if you have a custom domain. hexo-filter-optimize increased the page score from 70 to 99 for me. the 1% drop is caused by disqus, google analytics, webmaster tools etc.,
from hexo-filter-optimize.
@anbuchelva you mean a high score in Google's speed test is based on both compressing and caching?:flushed:
from hexo-filter-optimize.
@liolok it depends; check your results the issues and solutions are provided by google.
from hexo-filter-optimize.
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.
from hexo-filter-optimize.
Similar to #2.
from hexo-filter-optimize.
See also https://www.guanqr.com/2019/08/20/speed-up-hexo/
由于我的博客部署在 GitHub Pages 上面,服务器在美国,在**访问的话部分地区的加载速度比较慢。因此我在 6 月份的时候尝试使用 hexo-service-worker 与 hexo-filter-optimize 插件加速网站的访问速度。这两款插件确实对博客的加载速度有所帮助,但在当时我并没有留意博客内部的一些变化,直到最近,一个很严重的 BUG 暴露了出来。通过对插件的逐个排查,终于
from hexo-filter-optimize.
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.
from hexo-filter-optimize.
因为fontawesome加载字体用的是相对路径。懒得解决了,各位将就用吧。
from hexo-filter-optimize.
Related Issues (12)
- 小图标不显示 [check hexo-filter-optimize, and CDN configs maybe] HOT 3
- sidebarInner.affix is not a function HOT 1
- hexo-filter-optimize cause Valine comments not work HOT 6
- 启用bundle loaded js files into one之后文章内所有的代码失去高亮
- the icons are gone? HOT 6
- error with use minify-js HOT 3
- CSS filter causes icons to disappear in Muses HOT 6
- 很棒!但对本地调试不太友好…… HOT 9
- 这个有效么?为什么我弄了之后还起了反作用? HOT 4
- js.excludes 参数是无效的 HOT 3
- hexo-filter-optimize cause Valine comments not work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexo-filter-optimize.