Kadence Theme Localization Google FontsThe font speed is much faster. When you store network fonts in your own server, you will no longer rely on the font service provided by Google CDN.There are many benefits brought by this, which are detailed in the notes of WeissGoogle font localizationAnd how to set it up.
Kadence ThemeClick me directlyThe Kadence pro theme is based on the Gutenberg editor. It can quickly build a website without extra code, and Xiaobai can also get started quickly.Getting Started ClickHow to quickly build a website with Kadence theme。For more Kadence topics, seeKadence Topic For learning and small websites, choose servers with 1 core and 2g configuration to start, and for foreign theme websites, choose 2-core and 4g configuration to run smoothly. Domestic servers:Alibaba Cloud、Tencent Cloud(All have vouchers, which can be used to save money when paying)I don't know how to select regions and configurations. Please add Laowei Research on the right side of the page. Foreign trade, B2C/C2C and other websites register domain names abroad.openNamesilo official website, enter and select in the search box, and then register. Remember to use the discount code to save money.Discount code clickCourse of domain name registration of foreign domain name provider Namesiloobtain. Suggested choice of foreign trade websiteHostinger virtual host, the price is cheap and the performance price ratio is very high!Hostinger topic Select SiteGround virtual host。Moderate price, good service!SiteGround Theme
1、 Benefits of Google font localization
In general, it has the following benefits:
1.1. Reducing regulatory issues
Germany punished a website for passing the IP address of a visitor to Google through Google font without authorization and without proper reasons.The website was fined for violating the EU General Data Protection Regulations (GDPR).
If you don't want to be the next one, you'd better localize Google fonts to avoid this trouble.
1.2 Downloading fonts from Chrome browser
Since October 2020, Chrome browser will partition HTTP cache, causing users to re download Google fonts every time they visit the website. Even if the user browser has font cache, it will still re download from Google's cdn server.
1.3. Reduce third-party search
The fewer DNS requests in the website code, the faster the website will open.
1.4 Preload Google fonts
Kadence theme can preload Google fonts and provide better CSS properties to enhance the user experience.
1.5. Eliminate Lighthouse page speed warning
The Lighthouse evaluation results include warnings such as reducing the impact of third-party code. Although you can choose to ignore them, this is a hint from Google that we have to pay attention to.
2、 Kadence Theme Google Font Localization Settings
By installing the kadence theme, you can add the ability to host Google fonts locally.
The Kadence official said that the Kadence Pro plug-in should be enabled at the same time, but Lao Wei can actually install the Kadence theme.
In WordPress background>Appearance>Customize>General>Effect (performance performance), you can see the options of loading Google fonts locally and preloading local fonts, as shown in the following figure.
It is recommended to refresh the local font file to clear the cache after the change. If the cache plug-in is used, it is also recommended to clear the cache.
Additional operation: You can enable css preload, and cancel it if the foreground page displays abnormally.
The Kadence theme is so simple to enable Google fonts, and has a preload function, which reduces the number of DNS requests on the web page and increases the speed of the website.
Article name: How does Kadence theme localize Google fonts? Benefits of Google font localization Article link:https://www.vpsss.net/28338.html Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself. The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.