Issue with Google fonts and display swap
-
This is what I have in the header (notice the display=swap):
<noscript><link rel='stylesheet' media='all' /></noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,500,600,700&subset=latin,cyrillic-ext&display=swap" media="not all" data-media="all" onload="this.media=this.dataset.media; delete this.dataset.media; this.removeAttribute( 'onload' );" />
The Jetpack generated critical CSS (jetpack-boost-critical-css) does not contain the swap though:
@charset "UTF-8";@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,500,600,700&subset=latin,cyrillic-ext);
Any idea how to fix it? Or is it normal
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Issue with Google fonts and display swap’ is closed to new replies.