{"id":67101,"date":"2019-06-20T04:16:33","date_gmt":"2019-06-20T11:16:33","guid":{"rendered":"http:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/"},"modified":"2019-06-20T04:16:33","modified_gmt":"2019-06-20T11:16:33","slug":"optimizing-google-fonts-performance","status":"publish","type":"post","link":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/","title":{"rendered":"Optimizing Google Fonts Performance"},"content":{"rendered":"<link rel=\"canonical\" href=\"https:\/\/www.smashingmagazine.com\/2019\/06\/optimizing-google-fonts-performance\/\"><title>Optimizing Google Fonts Performance<\/title><\/p>\n<article>\n<header>\n<h1>Optimizing Google Fonts Performance<\/h1>\n<address>Danny Cooper<\/address>\n<p>                  <time datetime=\"2019-06-20T11:00:16+02:00\">2019-06-20T11:00:16+02:00<\/time><time datetime=\"2019-06-20T11:07:18+00:00\">2019-06-20T11:07:18+00:00<\/time><\/header>\n<p>It\u2019s fair to say Google Fonts are popular. As of writing, they have been viewed over <a href=\"https:\/\/fonts.google.com\/analytics\">29 trillion<\/a> times across the web and it\u2019s easy to understand why \u2014 the collection gives you access to over 900 beautiful fonts you can use on your website for free. Without Google Fonts you would be limited to the handful of \u201c<a href=\"https:\/\/fontsplugin.com\/web-safe-system-fonts\/\">system fonts<\/a>\u201d installed on your user\u2019s device.<\/p>\n<blockquote><p>System fonts or \u2018Web Safe Fonts\u2019 are the fonts most commonly pre-installed across operating systems. For example, Arial and Georgia are packaged with Windows, macOS and Linux distributions.<\/p><\/blockquote>\n<p>Like all good things, Google Fonts do come with a cost. Each font carries a weight that the web browser needs to download before they can be displayed. With the correct setup, the additional load time isn\u2019t noticeable. However, get it wrong and your users could be waiting up to a few seconds before any text is displayed.<\/p>\n<h3>Google Fonts Are Already Optimized<\/h3>\n<p>The Google Fonts API does more than just provide the font files to the browser, it also performs a smart check to see how it can deliver the files in the most optimized format.<\/p>\n<p>Let\u2019s look at Roboto, GitHub tells us that the regular variant weighs 168kb.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/470e4f56-094d-4116-b621-d806b30bced7\/github-file-size.jpg?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/06\/github-file-size.jpg 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/470e4f56-094d-4116-b621-d806b30bced7\/github-file-size.jpg 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/470e4f56-094d-4116-b621-d806b30bced7\/github-file-size.jpg 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/470e4f56-094d-4116-b621-d806b30bced7\/github-file-size.jpg 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/470e4f56-094d-4116-b621-d806b30bced7\/github-file-size.jpg 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/06\/github-file-size.jpg?w=900\" sizes=\"100vw\" alt=\"Roboto Regular has a file size of 168kb\"><\/a><figcaption>\n      168kb for a single font variant. (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/470e4f56-094d-4116-b621-d806b30bced7\/github-file-size.jpg\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>However, if I request the same font variant from the API, I\u2019m provided with this <a href=\"https:\/\/fonts.gstatic.com\/s\/roboto\/v19\/KFOmCnqEu92Fr1Mu72xKKTU1Kvnz.woff2\">file<\/a>. Which is only 11kb. How can that be?<\/p>\n<p>When the browser makes a request to the API, Google first checks which file types the browser supports. I\u2019m using the latest version of Chrome, which like most browsers supports WOFF2, so the font is served to me in that highly compressed format.<\/p>\n<p>If I change my user-agent to Internet Explorer 11, I\u2019m served the font in the WOFF format instead.<\/p>\n<p>Finally, if I change my user agent to IE8 then I get the font in the EOT (Embedded OpenType) format.<\/p>\n<blockquote><p>Google Fonts maintains 30+ optimized variants for each font and automatically detects and delivers the optimal variant for each platform and browser.<\/p>\n<p>\u2014 Ilya Grigorik, <a href=\"https:\/\/developers.google.com\/web\/fundamentals\/performance\/optimizing-content-efficiency\/webfont-optimization#reducing_font_size_with_compression\">Web Font Optimization<\/a><\/p><\/blockquote>\n<p>This is a great feature of Google Fonts, by checking the user-agent they are able to serve the most performant formats to browsers that support those, while still displaying the fonts consistently on older browsers.<\/p>\n<div data-component=\"FeaturePanel\" data-audience=\"non-subscriber\" data-remove=\"true\"><\/div>\n<h4>Browser Caching<\/h4>\n<p>Another built-in optimization of Google Fonts is browser caching.<\/p>\n<p>Due to the ubiquitous nature of Google Fonts, the browser doesn\u2019t always need to download the full font files. SmashingMagazine, for example, uses a font called \u2018Mija\u2019, if this is the first time your browser has seen that font, it will need to download it completely before the text is displayed, but the next time you visit a website using that font, the browser will use the cached version.<\/p>\n<blockquote><p>As the Google Fonts API becomes more widely used, it is likely visitors to your site or page will already have any Google fonts used in your design in their browser cache.<\/p>\n<p>\u2014 FAQ, <a href=\"https:\/\/developers.google.com\/fonts\/faq#will_web_fonts_slow_down_my_page\">Google Fonts<\/a><\/p><\/blockquote>\n<p>The Google Fonts browser cache is set to expire after one year unless the cache is cleared sooner.<\/p>\n<p><strong>Note:<\/strong> <em>Mija isn\u2019t a Google Font, but the principles of caching aren\u2019t vendor-specific.<\/em><\/p>\n<h3>Further Optimization Is Possible<\/h3>\n<p>While Google invests great effort in optimizing the delivery of the font files, there are still optimizations you can make in your implementation to reduce the impact on page load times.<\/p>\n<h4>1. Limit Font Families<\/h4>\n<p>The easiest optimization is to simply use fewer font families. Each font can add up to 400kb to your page weight, multiply that by a few different font families and suddenly your fonts weigh more than your entire page.<\/p>\n<p>I recommend using no more than two fonts, one for headings and another for content is usually sufficient. With the right use of font-size, weight, and color you can achieve a great look with even one font.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/3e496f6c-7cab-40e6-95d6-7efe1de59a68\/single-font-example.jpg?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/06\/single-font-example.jpg 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/3e496f6c-7cab-40e6-95d6-7efe1de59a68\/single-font-example.jpg 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/3e496f6c-7cab-40e6-95d6-7efe1de59a68\/single-font-example.jpg 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/3e496f6c-7cab-40e6-95d6-7efe1de59a68\/single-font-example.jpg 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/3e496f6c-7cab-40e6-95d6-7efe1de59a68\/single-font-example.jpg 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/06\/single-font-example.jpg?w=900\" sizes=\"100vw\" alt=\"Example showing three weights of a single font family (Source Sans Pro)\"><\/a><figcaption>\n      Three weights of a single font family (Source Sans Pro). (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/3e496f6c-7cab-40e6-95d6-7efe1de59a68\/single-font-example.jpg\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<h4>2. Exclude Variants<\/h4>\n<p>Due to the high-quality standard of Google Fonts, many of the font families contain the full spectrum of available font-weights:<\/p>\n<ul>\n<li>Thin (100)<\/li>\n<li>Thin Italic (100i)<\/li>\n<li>Light (300)<\/li>\n<li>Light Italic (300i)<\/li>\n<li>Regular (400)<\/li>\n<li>Regular Italic (400i)<\/li>\n<li>Medium (600)<\/li>\n<li>Medium Italic (600i)<\/li>\n<li>Bold (700)<\/li>\n<li>Bold Italic (700i)<\/li>\n<li>Black (800)<\/li>\n<li>Black Italic (800i)<\/li>\n<\/ul>\n<p>That\u2019s great for advanced use-cases which might require all 12 variants, but for a regular website, it means downloading all 12 variants when you might only need 3 or 4.<\/p>\n<p>For example, the Roboto font family weighs ~144kb. If however you only use the Regular, Regular Italic and Bold variants, that number comes down to ~36kb. A 75% saving!<\/p>\n<p>The default code for implementing Google Fonts looks like this:<\/p>\n<div>\n<pre><code><link href=\"https:\/\/fonts.googleapis.com\/css?family=Roboto\" rel=\"stylesheet\">\n<\/code><\/pre>\n<\/div>\n<p>If you do that, it will load only the \u2018regular 400\u2019 variant. Which means all light, bold and italic text will not be displayed correctly.<\/p>\n<p>To instead load all the font variants, we need to specify the weights in the URL like this:<\/p>\n<div>\n<pre><code><link href=\"https:\/\/fonts.googleapis.com\/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i\" rel=\"stylesheet\">\n<\/code><\/pre>\n<\/div>\n<p>It\u2019s rare that a website will use all variants of a font from Thin (100) to Black (900), the optimal strategy is to specify just the weights you plan to use:<\/p>\n<div>\n<pre><code><link href=\"https:\/\/fonts.googleapis.com\/css?family=Roboto:400,400i,600\" rel=\"stylesheet\">\n<\/code><\/pre>\n<\/div>\n<p>This is especially important when using multiple font families. For example, if you are using Lato for headings, it makes sense to only request the bold variant (and possibly bold italic):<\/p>\n<div>\n<pre><code><link href=\"https:\/\/fonts.googleapis.com\/css?family=Lato:700,700i\" rel=\"stylesheet\">\n<\/code><\/pre>\n<\/div>\n<h4>3. Combine Requests<\/h4>\n<p>The code snippet we worked with above makes a call to Google\u2019s servers (<code>fonts.googleapis.com<\/code>), that\u2019s called an HTTP request. Generally speaking, the more HTTP requests your web page needs to make, the longer it will take to load.<\/p>\n<p>If you wanted to load two fonts, you might do something like this:<\/p>\n<div>\n<pre><code><link href=\"https:\/\/fonts.googleapis.com\/css?family=Open+Sans:400,400i,600\" rel=\"stylesheet\">\n<link href=\"https:\/\/fonts.googleapis.com\/css?family=Roboto\" rel=\"stylesheet\">\n<\/code><\/pre>\n<\/div>\n<p>That would work, but it would result in the browser making two requests. We can optimize that by combining them into a single request like this:<\/p>\n<div>\n<pre><code><link href=\"https:\/\/fonts.googleapis.com\/css?family=Roboto|Open+Sans:400,400i,600\" rel=\"stylesheet\">\n<\/code><\/pre>\n<\/div>\n<p>There is no limit to how many fonts and variants a single request can hold.<\/p>\n<div><\/div>\n<h4>4. Resource Hints<\/h4>\n<p>Resource hints are a feature supported by modern browsers which can boost website performance. We are going to take a look at two types of resource hint: \u2018<a href=\"https:\/\/caniuse.com\/#feat=link-rel-dns-prefetch\">DNS Prefetching<\/a>\u2019 and \u2018<a href=\"https:\/\/caniuse.com\/#feat=link-rel-preconnect\">Preconnect<\/a>\u2019.<\/p>\n<p><strong>Note:<\/strong> <em>If a browser doesn\u2019t support a modern feature, it will simply ignore it. So your web page will still load normally.<\/em><\/p>\n<h5>DNS Prefetching<\/h5>\n<p>DNS prefetching allows the browser to start the connection to Google\u2019s Fonts API (<code>fonts.googleapis.com<\/code>) as soon as the page begins to load. This means that by the time the browser is ready to make a request, some of the work is already done.<\/p>\n<p>To implement DNS prefetching for Google Fonts, you simply add this one-liner to your web pages <code><head><\/code>:<\/p>\n<pre><code><link rel=\"dns-prefetch\" href=\"\/\/fonts.googleapis.com\">\n<\/code><\/pre>\n<h5>Preconnect<\/h5>\n<p>If you look at the Google Fonts embed code it appears to be a single HTTP request:<\/p>\n<div>\n<pre><code><link href=\"https:\/\/fonts.googleapis.com\/css?family=Roboto:400,400i,700\" rel=\"stylesheet\">\n<\/code><\/pre>\n<\/div>\n<p>However, if we visit that URL we can see there are three more requests to a different URL, <a href=\"https:\/\/fonts.gstatic.com\/\">https:\/\/fonts.gstatic.com<\/a>. One additional request for each font variant.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4655b9f4-3218-4e35-abec-113bd3b12302\/google-fonts-css.jpg?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/06\/google-fonts-css.jpg 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4655b9f4-3218-4e35-abec-113bd3b12302\/google-fonts-css.jpg 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4655b9f4-3218-4e35-abec-113bd3b12302\/google-fonts-css.jpg 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4655b9f4-3218-4e35-abec-113bd3b12302\/google-fonts-css.jpg 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4655b9f4-3218-4e35-abec-113bd3b12302\/google-fonts-css.jpg 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/06\/google-fonts-css.jpg?w=900\" sizes=\"100vw\" alt=\"Source code of a Google Fonts Request\"><\/a><figcaption>\n      (<a href=\"https:\/\/fonts.googleapis.com\/css?family=Roboto:400,400i,700\">View source<\/a>) (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/4655b9f4-3218-4e35-abec-113bd3b12302\/google-fonts-css.jpg\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p>The problem with these additional requests is that the browser won\u2019t begin the processes to make them until the first request to <code>https:\/\/fonts.googleapis.com\/css<\/code> is complete. This is where Preconnect comes in.<\/p>\n<p>Preconnect could be described as an enhanced version of prefetch. It is set on the specific URL the browser is going to load. Instead of just performing a DNS lookup, it also completes the TLS negotiation and TCP handshake too.<\/p>\n<p>Just like DNS Prefetching, it can be implemented with one line of code:<\/p>\n<pre><code><link rel=\"preconnect\" href=\"https:\/\/fonts.gstatic.com\/\" crossorigin>\n<\/code><\/pre>\n<p>Just adding this line of code can <a href=\"https:\/\/www.cdnplanet.com\/blog\/faster-google-webfonts-preconnect\/\">reduce your page load time by 100ms<\/a>. This is made possible by starting the connection alongside the initial request, rather than waiting for it to complete first.<\/p>\n<h4>5. Host Fonts Locally<\/h4>\n<p>Google Fonts are licensed under a \u2018Libre\u2019 or \u2018free software\u2019 license, which gives you the freedom to use, change and distribute the fonts without requesting permission. That means you don\u2019t need to use Google\u2019s hosting if you don\u2019t want to \u2014 you can self-host the fonts!<\/p>\n<p>All of the fonts files are available on <a href=\"https:\/\/github.com\/google\/fonts\">Github<\/a>. A <a href=\"https:\/\/github.com\/google\/fonts\/archive\/master.zip\">zip file<\/a> containing all of the fonts is also available (387MB).<\/p>\n<p>Lastly, there is a <a href=\"https:\/\/google-webfonts-helper.herokuapp.com\/\">helper service<\/a> that enables you to choose which fonts you want to use, then it provides the files and CSS needed to do so.<\/p>\n<p>There is a downside to hosting fonts locally. When you download the fonts, you are saving them as they are at that moment. If they are improved or updated, you won\u2019t receive those changes. In comparison, when requesting fonts from the Google Fonts API, you are always served the most up-to-date version.<\/p>\n<figure><a href=\"https:\/\/i0.wp.com\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/5250f760-5aaf-44a0-940b-d330ecaac79b\/google-fonts-api-request.jpg?ssl=1\"><\/p>\n<p>    <img data-recalc-dims=\"1\" decoding=\"async\" srcset=\"http:\/\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/06\/google-fonts-api-request.jpg 400w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_800\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/5250f760-5aaf-44a0-940b-d330ecaac79b\/google-fonts-api-request.jpg 800w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1200\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/5250f760-5aaf-44a0-940b-d330ecaac79b\/google-fonts-api-request.jpg 1200w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_1600\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/5250f760-5aaf-44a0-940b-d330ecaac79b\/google-fonts-api-request.jpg 1600w,\n\t\t\t        https:\/\/res.cloudinary.com\/indysigner\/image\/fetch\/f_auto,q_auto\/w_2000\/https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/5250f760-5aaf-44a0-940b-d330ecaac79b\/google-fonts-api-request.jpg 2000w\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/06\/google-fonts-api-request.jpg?w=900\" sizes=\"100vw\" alt=\"Google Fonts API Request showing a last modified date\"><\/a><figcaption>\n      Google Fonts API Request. (<a href=\"https:\/\/cloud.netlifyusercontent.com\/assets\/344dbf88-fdf9-42bb-adb4-46f01eedd629\/5250f760-5aaf-44a0-940b-d330ecaac79b\/google-fonts-api-request.jpg\">Large preview<\/a>)<br \/>\n    <\/figcaption><\/figure>\n<p><em>Note the <code>lastModified<\/code> parameter in the API. The fonts are regularly modified and improved.<\/em><\/p>\n<div><\/div>\n<h4>6. Font Display<\/h4>\n<p>We know that it takes time for the browser to download Google Fonts, but what happens to the text before they are ready? For a long time, the browser would show blank space where the text should be, also known as the &#8220;FOIT\u201d (Flash of Invisible Text).<\/p>\n<p><strong>Recommended Reading<\/strong>: <em>\u201c<a href=\"https:\/\/css-tricks.com\/fout-foit-foft\/\">FOUT, FOIT, FOFT<\/a>\u201d by Chris Coyier<\/em><\/p>\n<p>Showing nothing at all can be a jarring experience to the end user, a better experience would be to initially show a system font as a fallback and then \u201cswap\u201d the fonts once they are ready. This is possible using the <a href=\"https:\/\/caniuse.com\/#feat=css-font-rendering-controls\">CSS <code>font-display<\/code> property<\/a>.<\/p>\n<p>By adding <code>font-display: swap;<\/code> to the @font-face declaration, we tell the browser to show the fallback font until the Google Font is available.<\/p>\n<div>\n<pre><code>    @font-face {\n    font-family: 'Roboto';\n    src: local('Roboto Thin Italic'),\n  url(https:\/\/fonts.gstatic.com\/s\/roboto\/v19\/KFOiCnqEu92Fr1Mu51QrEz0dL-vwnYh2eg.woff2)\n  format('woff2');\n    font-display: swap;\n  }\n<\/code><\/pre>\n<\/div>\n<p>In 2019 Google, announced they would add support for <a href=\"https:\/\/fontsplugin.com\/google-fonts-font-display-swap\/\">font-display: swap<\/a>. You can begin implementing this right away by adding an extra parameter to the fonts URL:<\/p>\n<pre><code>https:\/\/fonts.googleapis.com\/css?family=Roboto&display=swap\n<\/code><\/pre>\n<h4>7. Use the <code>Text<\/code> Parameter<\/h4>\n<p>A little known feature of the Google Fonts API is the <code>text<\/code> parameter. This rarely-used parameter allows you to only load the characters you need.<\/p>\n<p>For example, if you have a text-logo that needs to be a unique font, you could use the <code>text<\/code> parameter to only load the characters used in the logo.<\/p>\n<p>It works like this:<\/p>\n<pre><code>https:\/\/fonts.googleapis.com\/css?family=Roboto&text=CompanyName\n<\/code><\/pre>\n<p>Obviously, this technique is very specific and only has a few realistic applications. However, if you can use it, it can cut down the font weight by up to 90%.<\/p>\n<p><strong>Note:<\/strong> <em>When using the <code>text<\/code> parameter, only the \u201cnormal\u201d font-weight is loaded by default. To use another weight you must explicitly specify it in the URL.<\/em><\/p>\n<pre><code>https:\/\/fonts.googleapis.com\/css?family=Roboto:700&text=CompanyName\n<\/code><\/pre>\n<h3>Wrapping Up<\/h3>\n<p><a href=\"https:\/\/trends.builtwith.com\/widgets\/Google-Font-API\">With an estimated 53%<\/a> of the top 1 million websites using Google Fonts, implementing these optimizations can have a huge impact.<\/p>\n<p>How many of the above have you tried? Let me know in the comments section.<\/p>\n<div>\n  <img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/06\/logo-red-13.png?w=900\" alt=\"Smashing Editorial\"><span>(dm, yk, il)<\/span>\n<\/div>\n<\/article>\n<p class=\"wpematico_credit\"><small>Powered by <a href=\"http:\/\/www.wpematico.com\" target=\"_blank\">WPeMatico<\/a><\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Optimizing Google Fonts Performance Optimizing Google Fonts Performance Danny Cooper 2019-06-20T11:00:16+02:002019-06-20T11:07:18+00:00 It\u2019s fair to say Google Fonts are popular. As of writing, they have been viewed over 29 trillion times across the web and it\u2019s easy to understand why \u2014 the collection gives you access to over 900 beautiful fonts you can use on your&#8230;<a class=\"moretag\" href=\"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/\"> Read the full article&#8230;<\/a><\/p>\n","protected":false},"author":4,"featured_media":67102,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[371],"tags":[],"class_list":["post-67101","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-user-experience"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Optimizing Google Fonts PerformanceOptimizing Google Fonts Performance Danny Cooper 2019-06-20T11:00:16+02:002019-06-20T11:07:18+00:00It\u2019s fair to say Google Fonts are popular. As of writing, they have been viewed over 29 trillion times across the web and it\u2019s easy to understand why \u2014 the collection gives you access to over 900 beautiful fonts you can use on your website for\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Guest Contribution\"\/>\n\t<meta name=\"keywords\" content=\"user experience\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Design for Immersive Technologies | User Experience for Games, Virtual Reality (VR) and Augmented\/Mixed Reality (AR\/MR)\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Optimizing Google Fonts Performance | Design for Immersive Technologies\" \/>\n\t\t<meta property=\"og:description\" content=\"Optimizing Google Fonts PerformanceOptimizing Google Fonts Performance Danny Cooper 2019-06-20T11:00:16+02:002019-06-20T11:07:18+00:00It\u2019s fair to say Google Fonts are popular. As of writing, they have been viewed over 29 trillion times across the web and it\u2019s easy to understand why \u2014 the collection gives you access to over 900 beautiful fonts you can use on your website for\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-06-20T11:16:33+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-06-20T11:16:33+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Optimizing Google Fonts Performance | Design for Immersive Technologies\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Optimizing Google Fonts PerformanceOptimizing Google Fonts Performance Danny Cooper 2019-06-20T11:00:16+02:002019-06-20T11:07:18+00:00It\u2019s fair to say Google Fonts are popular. As of writing, they have been viewed over 29 trillion times across the web and it\u2019s easy to understand why \u2014 the collection gives you access to over 900 beautiful fonts you can use on your website for\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/06\\\/optimizing-google-fonts-performance\\\/#article\",\"name\":\"Optimizing Google Fonts Performance | Design for Immersive Technologies\",\"headline\":\"Optimizing Google Fonts Performance\",\"author\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.taterboy.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/github-file-size.jpg?fit=400%2C252&ssl=1\",\"width\":400,\"height\":252},\"datePublished\":\"2019-06-20T04:16:33-07:00\",\"dateModified\":\"2019-06-20T04:16:33-07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/06\\\/optimizing-google-fonts-performance\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/06\\\/optimizing-google-fonts-performance\\\/#webpage\"},\"articleSection\":\"User Experience\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/06\\\/optimizing-google-fonts-performance\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.taterboy.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/category\\\/user-experience\\\/#listItem\",\"name\":\"User Experience\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/category\\\/user-experience\\\/#listItem\",\"position\":2,\"name\":\"User Experience\",\"item\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/category\\\/user-experience\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/06\\\/optimizing-google-fonts-performance\\\/#listItem\",\"name\":\"Optimizing Google Fonts Performance\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/06\\\/optimizing-google-fonts-performance\\\/#listItem\",\"position\":3,\"name\":\"Optimizing Google Fonts Performance\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/category\\\/user-experience\\\/#listItem\",\"name\":\"User Experience\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#organization\",\"name\":\"Design for Immersive Technologies\",\"description\":\"User Experience for Games, Virtual Reality (VR) and Augmented\\\/Mixed Reality (AR\\\/MR)\",\"url\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/#author\",\"url\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/\",\"name\":\"Guest Contribution\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/06\\\/optimizing-google-fonts-performance\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d2aad73eb0f48c67b141e9fc978a0e498969791ed623346e361d02d19775b0bb?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Guest Contribution\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/06\\\/optimizing-google-fonts-performance\\\/#webpage\",\"url\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/06\\\/optimizing-google-fonts-performance\\\/\",\"name\":\"Optimizing Google Fonts Performance | Design for Immersive Technologies\",\"description\":\"Optimizing Google Fonts PerformanceOptimizing Google Fonts Performance Danny Cooper 2019-06-20T11:00:16+02:002019-06-20T11:07:18+00:00It\\u2019s fair to say Google Fonts are popular. As of writing, they have been viewed over 29 trillion times across the web and it\\u2019s easy to understand why \\u2014 the collection gives you access to over 900 beautiful fonts you can use on your website for\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/06\\\/optimizing-google-fonts-performance\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/author\\\/guestcontribution\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.taterboy.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/github-file-size.jpg?fit=400%2C252&ssl=1\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/06\\\/optimizing-google-fonts-performance\\\/#mainImage\",\"width\":400,\"height\":252},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/2019\\\/06\\\/optimizing-google-fonts-performance\\\/#mainImage\"},\"datePublished\":\"2019-06-20T04:16:33-07:00\",\"dateModified\":\"2019-06-20T04:16:33-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/\",\"name\":\"Design for Immersive Technologies\",\"description\":\"User Experience for Games, Virtual Reality (VR) and Augmented\\\/Mixed Reality (AR\\\/MR)\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.taterboy.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Optimizing Google Fonts Performance | Design for Immersive Technologies","description":"Optimizing Google Fonts PerformanceOptimizing Google Fonts Performance Danny Cooper 2019-06-20T11:00:16+02:002019-06-20T11:07:18+00:00It\u2019s fair to say Google Fonts are popular. As of writing, they have been viewed over 29 trillion times across the web and it\u2019s easy to understand why \u2014 the collection gives you access to over 900 beautiful fonts you can use on your website for","canonical_url":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/","robots":"max-image-preview:large","keywords":"user experience","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/#article","name":"Optimizing Google Fonts Performance | Design for Immersive Technologies","headline":"Optimizing Google Fonts Performance","author":{"@id":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/#author"},"publisher":{"@id":"https:\/\/www.taterboy.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/06\/github-file-size.jpg?fit=400%2C252&ssl=1","width":400,"height":252},"datePublished":"2019-06-20T04:16:33-07:00","dateModified":"2019-06-20T04:16:33-07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/#webpage"},"isPartOf":{"@id":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/#webpage"},"articleSection":"User Experience"},{"@type":"BreadcrumbList","@id":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.taterboy.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/#listItem","name":"User Experience"}},{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/#listItem","position":2,"name":"User Experience","item":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/#listItem","name":"Optimizing Google Fonts Performance"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/#listItem","position":3,"name":"Optimizing Google Fonts Performance","previousItem":{"@type":"ListItem","@id":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/#listItem","name":"User Experience"}}]},{"@type":"Organization","@id":"https:\/\/www.taterboy.com\/blog\/#organization","name":"Design for Immersive Technologies","description":"User Experience for Games, Virtual Reality (VR) and Augmented\/Mixed Reality (AR\/MR)","url":"https:\/\/www.taterboy.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/#author","url":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/","name":"Guest Contribution","image":{"@type":"ImageObject","@id":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d2aad73eb0f48c67b141e9fc978a0e498969791ed623346e361d02d19775b0bb?s=96&d=mm&r=g","width":96,"height":96,"caption":"Guest Contribution"}},{"@type":"WebPage","@id":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/#webpage","url":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/","name":"Optimizing Google Fonts Performance | Design for Immersive Technologies","description":"Optimizing Google Fonts PerformanceOptimizing Google Fonts Performance Danny Cooper 2019-06-20T11:00:16+02:002019-06-20T11:07:18+00:00It\u2019s fair to say Google Fonts are popular. As of writing, they have been viewed over 29 trillion times across the web and it\u2019s easy to understand why \u2014 the collection gives you access to over 900 beautiful fonts you can use on your website for","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.taterboy.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/#breadcrumblist"},"author":{"@id":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/#author"},"creator":{"@id":"https:\/\/www.taterboy.com\/blog\/author\/guestcontribution\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/06\/github-file-size.jpg?fit=400%2C252&ssl=1","@id":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/#mainImage","width":400,"height":252},"primaryImageOfPage":{"@id":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/#mainImage"},"datePublished":"2019-06-20T04:16:33-07:00","dateModified":"2019-06-20T04:16:33-07:00"},{"@type":"WebSite","@id":"https:\/\/www.taterboy.com\/blog\/#website","url":"https:\/\/www.taterboy.com\/blog\/","name":"Design for Immersive Technologies","description":"User Experience for Games, Virtual Reality (VR) and Augmented\/Mixed Reality (AR\/MR)","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.taterboy.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Design for Immersive Technologies | User Experience for Games, Virtual Reality (VR) and Augmented\/Mixed Reality (AR\/MR)","og:type":"article","og:title":"Optimizing Google Fonts Performance | Design for Immersive Technologies","og:description":"Optimizing Google Fonts PerformanceOptimizing Google Fonts Performance Danny Cooper 2019-06-20T11:00:16+02:002019-06-20T11:07:18+00:00It\u2019s fair to say Google Fonts are popular. As of writing, they have been viewed over 29 trillion times across the web and it\u2019s easy to understand why \u2014 the collection gives you access to over 900 beautiful fonts you can use on your website for","og:url":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/","article:published_time":"2019-06-20T11:16:33+00:00","article:modified_time":"2019-06-20T11:16:33+00:00","twitter:card":"summary","twitter:title":"Optimizing Google Fonts Performance | Design for Immersive Technologies","twitter:description":"Optimizing Google Fonts PerformanceOptimizing Google Fonts Performance Danny Cooper 2019-06-20T11:00:16+02:002019-06-20T11:07:18+00:00It\u2019s fair to say Google Fonts are popular. As of writing, they have been viewed over 29 trillion times across the web and it\u2019s easy to understand why \u2014 the collection gives you access to over 900 beautiful fonts you can use on your website for"},"aioseo_meta_data":{"post_id":"67101","title":null,"description":null,"keywords":null,"keyphrases":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_custom_image_width":null,"og_custom_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"created":"2021-02-07 19:22:37","updated":"2026-09-01 12:31:05","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"twitter_image_url":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.taterboy.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/\" title=\"User Experience\">User Experience<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tOptimizing Google Fonts Performance\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.taterboy.com\/blog"},{"label":"User Experience","link":"https:\/\/www.taterboy.com\/blog\/category\/user-experience\/"},{"label":"Optimizing Google Fonts Performance","link":"https:\/\/www.taterboy.com\/blog\/2019\/06\/optimizing-google-fonts-performance\/"}],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8wzr5-hsh","jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.taterboy.com\/blog\/wp-content\/uploads\/2019\/06\/github-file-size.jpg?fit=400%2C252&ssl=1","_links":{"self":[{"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/posts\/67101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/comments?post=67101"}],"version-history":[{"count":0,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/posts\/67101\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/media\/67102"}],"wp:attachment":[{"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/media?parent=67101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/categories?post=67101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.taterboy.com\/blog\/wp-json\/wp\/v2\/tags?post=67101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}