{"id":4035,"date":"2020-01-22T10:00:38","date_gmt":"2020-01-22T10:00:38","guid":{"rendered":"http:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/?p=4035"},"modified":"2020-01-22T10:00:38","modified_gmt":"2020-01-22T10:00:38","slug":"preloading-fonts-when-does-it-make-sense","status":"publish","type":"post","link":"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/2020\/01\/22\/preloading-fonts-when-does-it-make-sense\/","title":{"rendered":"PRELOADING FONTS: WHEN DOES IT MAKE SENSE?"},"content":{"rendered":"<p><a href=\"https:\/\/betterwebtype.com\/articles\/2019\/11\/02\/preloading-fonts-when-does-it-make-sense\/?utm_source=Better+Web+Type&#038;utm_campaign=191aa8129f-EMAIL_CAMPAIGN_2019_11_18-BWT-NEWS-NC_COPY_01&#038;utm_medium=email&#038;utm_term=0_b76a5d78ca-191aa8129f-1210061005&#038;mc_cid=191aa8129f&#038;mc_eid=aac30bb19a\" rel=\"noopener noreferrer\" target=\"_blank\">https:\/\/betterwebtype.com\/articles\/2019\/11\/02\/preloading-fonts-when-does-it-make-sense\/?utm_source=Better+Web+Type&#038;utm_campaign=191aa8129f-EMAIL_CAMPAIGN_2019_11_18-BWT-NEWS-NC_COPY_01&#038;utm_medium=email&#038;utm_term=0_b76a5d78ca-191aa8129f-1210061005&#038;mc_cid=191aa8129f&#038;mc_eid=aac30bb19a<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-content\/uploads\/preloading-opt-300x188.gif\" alt=\"\" width=\"300\" height=\"188\" class=\"alignnone size-medium wp-image-4037\" srcset=\"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-content\/uploads\/preloading-opt-300x188.gif 300w, https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-content\/uploads\/preloading-opt-1024x640.gif 1024w, https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-content\/uploads\/preloading-opt-768x480.gif 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><strong>FONT-DISPLAY: SWAP<\/strong><br \/>\nPros<br \/>\nThe website becomes readable pretty much immediately<br \/>\nImproved perceived performance<br \/>\nCons<br \/>\nThe jarring transition from the fallback to the custom font (nasty FOUT)<br \/>\nCan take a while to load the custom font<\/p>\n<p><strong>FONT-DISPLAY:BLOCK<\/strong><br \/>\nPros<br \/>\nNo jarring transition from the fallback to the custom font (nasty FOUT), the text is hidden, the browser starts rendering the website regardless of the custom font being loaded or not<br \/>\nCons<br \/>\nThe website isn\u2019t readable for a longer time (especially on mobile devices)<br \/>\nIt\u2019s pretty much a different way of achieving FOIT (flash of invisible text)<br \/>\nCan take a while to load the custom font<br \/>\nPossible negative impact on perceived performance<\/p>\n<p><strong>FONT PRELOADING<\/strong><br \/>\nPros<br \/>\nNo jarring transition from the fallback to the custom font (nasty FOUT), the browser starts rendering the website once the custom font is loaded<br \/>\nShorter time to load the custom font<br \/>\nThe website becomes readable sooner (than the block option)<br \/>\nCons<br \/>\nCan have an impact on perceived performance<\/p>\n<p>So there you have it, I hope this helps you with choosing a good custom font loading approach for your next project. Cheers! ?<\/p>\n","protected":false},"excerpt":{"rendered":"https:\/\/betterwebtype.com\/articles\/2019\/11\/02\/preloading-fonts-when-does-it-make-sense\/?utm_source=Better+Web+Type&#038;utm_campaign=191aa8129f-EMAIL_CAMPAIGN_2019_11_18-BWT-NEWS-NC_COPY_01&#038;utm_medium=email&#038;utm_term=0_b76a5d78ca-191aa8129f-1210061005&#038;mc_cid=191aa8129f&#038;mc_eid=aac30bb19a FONT-DISPLAY: SWAP Pros The website becomes readable pretty much immediately Improved perceived performance Cons The jarring transition from the fallback to the \n<a class=\"moretag\" href=\"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/2020\/01\/22\/preloading-fonts-when-does-it-make-sense\/\"> [...]<\/a>","protected":false},"author":1,"featured_media":4036,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[14,208],"class_list":["post-4035","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-typografie","tag-letterontwerp","tag-webfonts"],"_links":{"self":[{"href":"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-json\/wp\/v2\/posts\/4035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-json\/wp\/v2\/comments?post=4035"}],"version-history":[{"count":1,"href":"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-json\/wp\/v2\/posts\/4035\/revisions"}],"predecessor-version":[{"id":4038,"href":"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-json\/wp\/v2\/posts\/4035\/revisions\/4038"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-json\/wp\/v2\/media\/4036"}],"wp:attachment":[{"href":"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-json\/wp\/v2\/media?parent=4035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-json\/wp\/v2\/categories?post=4035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vakgroep.cmd.hr.nl\/algemeen\/inspiratie\/wp-json\/wp\/v2\/tags?post=4035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}