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

后端 未结 18 2282
隐瞒了意图╮
隐瞒了意图╮ 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:15

    As soon as I disabled the DuckDuckGo Privacy Essentials plugin it disappeared. Bit annoying as the fonts I was serving was from localhost so shouldn't be anything to do with a slow network connection.

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

    This means the network is slow, and Chrome is replacing a web font (loaded with a @font-face rule) with a local fallback.

    By default, the text rendered with a web font is invisible until the font is downloaded (“flash of invisible text”). With this change, the user on a slow network could start reading right when the content is loaded instead of looking into the empty page for several seconds.

    • Related Chrome issue: https://bugs.chromium.org/p/chromium/issues/detail?id=578029. (A change enabling this behavior for 3G connections landed in September; this should be the reason you got the message.)
    • Related source code: https://chromium.googlesource.com/chromium/src/third_party/+/master/WebKit/Source/core/css/RemoteFontFaceSource.cpp#74
    0 讨论(0)
  • 2020-12-12 10:16

    I hide this by set console setting

    Console settings -> User messages only

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

    Updating to the latest version of Chrome (63.0.3239.84) via Help -> About fixed it for me.

    (actually, I did had to switch to Offline and back to Online in the Network tab of developers tools to make the last errors go away.)

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

    if you can access to css of this extension, simply add font-display:block; on font-face definition or send feedback to developer of this extension:)

    @font-face {
      font-family: ExampleFont;
      src: url(/path/to/fonts/examplefont.woff) format('woff'),
           url(/path/to/fonts/examplefont.eot) format('eot');
      font-weight: 400;
      font-style: normal;
      font-display: block;
    }
    
    0 讨论(0)
  • 2020-12-12 10:23

    Right mouse сlick on Chrome Dev. Then select filter. And select source of messages.

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