36

what can I do in this case? I'm seeing this on my console when ran on the browser the AngularJS App:

Slow network is detected. Fallback font will be used while loading: /bootstrap/dist/fonts/glyphicons-halflings-regular.woff2

I also see the fonts changing while loading.

Jonathan Brizio
  • 1,087
  • 1
  • 14
  • 28
Scopi
  • 663
  • 1
  • 6
  • 21
  • 7
    disabling the flag under `chrome://flags/#enable-webfonts-intervention-v2` will prevent this appearing. – ɢʀᴜɴᴛ Aug 23 '17 at 21:38
  • 2
    disabling the flag under chrome://flags/#enable-webfonts-intervention-v2 not working in chrome version >61 – karacas Nov 29 '17 at 20:05
  • 1
    Most of the answers below are copied form here https://stackoverflow.com/questions/40143098/why-does-this-slow-network-detected-log-appear-in-chrome – Sajeetharan Nov 30 '17 at 01:36
  • This is a fail safe for chrome to speed up their chromium engine. that way if your website is loading slowly then local font will be used to show your website than later when everything is loaded your original font will appears. as mentioned you can go ahead and disable it `chrome://flags/#enable-webfonts-intervention-v2` and you won't see this anymore – Faizan Anwer Ali Rupani Dec 05 '17 at 11:11
  • It is no longer working. There is no flag for enable-webfonts-intervention-v2. So issue reappeared. How can we resolve it now? – Ankur Akvaliya Dec 19 '17 at 12:57
  • 1
    @FaizanRupani this issue is coming even with the fonts available locally or cached. This message is coming even for extensions loading custom fonts available locally within. – Akansh Jan 06 '18 at 22:31
  • I'm not seeking a way to turn it off which seems to be what all the "answers" are doing. I'm seeking to understand what network process triggers this and how to resolve that condition. – frumbert Aug 08 '18 at 00:00

12 Answers12

36

Setting the following chrome flag to Unknown will prevent that message appearing on dev-console :

chrome://flags/#force-effective-connection-type

enter image description here

ᴛᴇꜱᴛᴇᴅ ᴏɴ
Google Chrome
Version 63.0.3239.84

ɢʀᴜɴᴛ
  • 32,025
  • 15
  • 116
  • 110
11

Same issue in localhost server.

But if you don't want to see these messages in log:

On the chrome tools => console settings => checked on User messages only

RajnishCoder
  • 3,455
  • 6
  • 20
  • 35
Diego
  • 699
  • 6
  • 10
  • 2
    Just to clarify this, open up Dev Tools, select the Console tab, and click the gear icon on the upper right. Then select "User messages only". – Gavin Oct 28 '17 at 16:45
  • 10
    This not only disable this specific message but also all other useful messages (warnings, errors to name some) – tomsihap Nov 02 '17 at 09:40
  • 1
    This answer has a number of undesired side effects, as already noted by @tomsihap – superjos Nov 06 '17 at 22:22
5

Simply add font-display to all css font-face definitions to remove error from console.

@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;
}
MrAdib
  • 726
  • 12
  • 21
0

This is due to the multiple frameworks that are been used. You can ignore it. It does not create any problems. You can just remove things from console only.

Sᴀᴍ Onᴇᴌᴀ
  • 8,218
  • 8
  • 36
  • 58
Ashiz Hamal
  • 23
  • 1
  • 1
  • 5
0

This is a fail safe for chrome to speed up their chromium engine. that way if your website is loading slowly then local font will be used to show your website than later when everything is loaded your original font will appears. as mentioned you can go ahead and disable it chrome://flags/#enable-webfonts-intervention-v2 and you won't see this anymore

0

I am facing same issue.To resolve this issue simply inspect the browser page -> goto console -> On right top open console setting -> select/check users messages only option it will disappear these slow network logs

Rohit Deshmukh
  • 364
  • 2
  • 5
  • 13
0

This browser-independent JavaScript solution prevents these logs and FOUT-FOIT-FOFT by making the user wait until the font has been downloaded.

In client JavaScript use fontfaceobserver to detect if the font is loaded, and do not show the markup using that font until the font is loaded.

How not to show the markup depends on which stack you use.

Mozfet
  • 359
  • 3
  • 12
0

I FIXED THIS ERROR BY TURNING OFF THE AD BLOCKER TOOL

Sangwin Gawande
  • 7,658
  • 8
  • 48
  • 66
Omar bakhsh
  • 896
  • 11
  • 18
0

I solved this by modifying my database, it turns out that twas a server error not on the code or in the flags, hope this helps

Thinker Bell
  • 77
  • 1
  • 4
-1

In Chrome type the URL and enter chrome://flags/#disable-accelerated-2d-canvas we will see new version of User Agent Intervention for WebFonts loading then disable it, the problem will get resolved

nvoigt
  • 75,013
  • 26
  • 93
  • 142
Sreehari Ballampalli
  • 3,404
  • 3
  • 12
  • 19
-1
chrome inspect tools -> console setting -> check "User messages only"

To hide these messages can do followsing steps :

  1. Just open inspect the browser page
  2. Click on console tab
  3. On right top open console settings
  4. Check users messages only option

It will hide all slow network console messages. But keep in mind, It will only hide those messages not resolve the issue.

FYI :

FYI

Sangwin Gawande
  • 7,658
  • 8
  • 48
  • 66
-2

I am happy with this meta tag.

<meta content='IE=Edge;chrome=35+' https-equiv='X-UA-Compatible'/>