Why does this “Slow network detected…” log appear in Chrome?

后端 未结 18 2265
隐瞒了意图╮
隐瞒了意图╮ 2020-12-12 09:36

I noticed this info log began to appear in Google Chrome Dev (Version 55.0.2883.18 dev) and I can\'t imagine why.

Slow network is detecte

相关标签:
18条回答
  • 2020-12-12 10:04

    you can click 'console settings', and check then box 'Use messages only', after that those messages won't show again.

    0 讨论(0)
  • 2020-12-12 10:05

    EDIT: This is not working with latest version of 63.0+

    I was able to disable it using help from one of above comments, go to

    chrome://flags/#enable-webfonts-intervention-v2

    The trick is to also disable the "Trigger User Agent Intervention for WebFonts loading always" option just below that as well.

    0 讨论(0)
  • 2020-12-12 10:10
    1. No, this doesn't mean network is slow.
    2. No, this is not only false warning.

    I have this problem on angular web applications after replace link https://fonts.googleapis.com/icon?family=Material+Icons in index.html to integrated version (npm install .... material-icons...). This works, but sometimes web application show that warning.

    When warning is shown icons are not rendered for approximately 1 second, so user see badly rendered icons.

    I don't have solution yet.

    0 讨论(0)
  • 2020-12-12 10:13

    If your developing an app that uses google fonts and want to ensure your users do not see these warnings. A possible solution (detailed here) was to load the fonts locally.

    I used this solution for an application which at times has slow internet (or no internet access) but still serves pages, This assumes your app uses Google fonts and updates to these fonts are not critical. Also assume that using ttf fonts are appropriate for your application WC3 TTF Font Browser Support.

    Here is how I accomplished locally serving fonts:

    Go to https://fonts.google.com/ and do a search for your fonts

    Add your fonts

    Download them

    Place them in site root

    Add them to your @font file

    0 讨论(0)
  • 2020-12-12 10:15

    In my case, it was AdBlock Plus extension for Google chrome. Turned it off and it worked perfectly.

    0 讨论(0)
  • 2020-12-12 10:15

    I also had the same errors with fontawesome's fonts. Then I downloaded the lastest fontawesome's fonts and replace to the old fonts. And the errors are gone.

    0 讨论(0)
提交回复
热议问题