簡體   English   中英

渲染阻塞 fonts

[英]Render-blocking fonts

出於某種原因,正在從我的 Wordpress 網站上的 Google Fonts 下載大量 fonts 列表(暫存站點已鏈接) ,並且 Google PageSpeed Insights 將其識別為資源

The thing is I would basically just need the Poppins 300, 500, 600 on Italics and Regular, so I had embedded the fonts as Google states, linking to them on the header of the site, but I deleted that link and realized that the fonts仍在工作,所以我假設 Wordpress 主題必須對此負責。

我的問題是,我怎樣才能減少 fonts 的數量,以便只下載真正需要的,從而最大限度地減少那些渲染阻塞資源?

非常感謝您的幫助和時間

If you are able to install a plugin you can select which fonts you use (including the font-weight) by this lightweight plugin and it will also combine - minimize the rest of the fonts so you will have less DNS requests for a faster web page .

在此處輸入圖像描述

通過僅選擇您需要的 fonts 重新生成嵌入鏈接: https://fonts.google.com/specimen/Poppins?selection.family=Caveat

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM