GithubHelp home page GithubHelp logo

Comments (12)

moeyui1 avatar moeyui1 commented on July 30, 2024 3

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.

anbuchelva avatar anbuchelva commented on July 30, 2024 1

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.

anbuchelva avatar anbuchelva commented on July 30, 2024

i confirm the same. enabling css optimization breaks the font awesome icons. Need help on the same.

Thanks!

from hexo-filter-optimize.

liolok avatar liolok commented on July 30, 2024

@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.

anbuchelva avatar anbuchelva commented on July 30, 2024

@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.

liolok avatar liolok commented on July 30, 2024

@anbuchelva you mean a high score in Google's speed test is based on both compressing and caching?:flushed:

from hexo-filter-optimize.

anbuchelva avatar anbuchelva commented on July 30, 2024

@liolok it depends; check your results the issues and solutions are provided by google.

from hexo-filter-optimize.

stale avatar stale commented on July 30, 2024

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.

ivan-nginx avatar ivan-nginx commented on July 30, 2024

Similar to #2.

from hexo-filter-optimize.

stevenjoezhang avatar stevenjoezhang commented on July 30, 2024

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.

stale avatar stale commented on July 30, 2024

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.

stevenjoezhang avatar stevenjoezhang commented on July 30, 2024

因为fontawesome加载字体用的是相对路径。懒得解决了,各位将就用吧。

from hexo-filter-optimize.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.