James
James

Reputation: 1343

fonts.gstatic.com not appearing in Chrome Network Tab but it is in HAR file

If you look at the HAR file fonts.gstatic.com is present as is expected

However, it is not visible in the Google Chrome Network Tools tab (see sreenshot attached)fonts.gstatic.com missing from Chrome Network Tab

Is this a bug or am i missing something?

Upvotes: 2

Views: 1130

Answers (1)

James
James

Reputation: 1343

In the HAR file we can see fonts.gstatic.com is in an HTTP response "Link" header value and content (i.e. CSS file).

The Link property doesn't actually fetch the source as the font is available locally, it won't try to load via url. For more info: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src

@font-face {
    font-family: 'Pathway Gothic One';
    font-style: normal;
    font-weight: 400;
    src: local('Pathway Gothic One'),local(PathwayGothicOne-Regular),url(http://fonts.gstatic.com/s/pathwaygothicone/v4/Lqv9ztoTUV8Q0FmQZzPqaBRcxZ7No-r1mAtcnpNU5cQ.woff2) format("woff2");
    unicode-range: U+0100-024F,U+1E00-1EFF,U+20A0-20AB,U+20AD-20CF,U+2C60-2C7F,U+A720-A7FF;
}

Upvotes: 3

Related Questions