Linux 软件免费装

MadeByRobert Fonts Locallizer

开发者 Robert Palmer
robertcpalmer
更新时间 2025年11月18日 23:46
PHP版本: 3.0.1 及以上
WordPress版本: 6.8
版权: GPLv3
版权网址: 版权信息

标签

performance optimization Divi GDPR Google Fonts

下载

1.8.22

详情介绍:

Host Google Fonts Locally - for Divi & other page builders. Improve your page loading performance and comply with GDPR by serving Google Fonts locally. For enhanced performance, cached fonts are preloaded. No configuration required, just install, activate and leave everything to the plugin. Totally FREE with no pro versions to sell or promote.

安装:

  1. Upload the plugin and activate.
  2. Purge any minify/CDN caches.
  3. Load page/s using Google Fonts to populate the cache.

常见问题:

Do I have to visit every page on my website to populate the cache?

No. If your site uses 3 or 4 Google Fonts, just go to a page/s where these fonts are used, and they will be added to the cache. Then, when they are used on other pages, the plugin will automatically detect this, step in and serve the fonts from your local cache and not from Google's CDN.

How can I test to see if the plugin is working?

In Chrome, go to a page on your website, then access DevTools (F12) > Network > [Font] and view the URL of a given font. If the plugin is working, you will see that it is being served from /wp-content/uploads/sgfc-cache/… If no font files are listed in DevTools, hit F5 to refresh the content.

Does it work with other page builders?

Yes. It works with many other page builders, including Elementor, Gutenberg and WP Bakery, among others.

Icons missing?

This plugin intentionally skips icon CSS. If icons were previously rewritten by another tool, purge its cache and CDN.

How do I flush the cache?

Dashboard > Tools > Font Cache. This will display information about the size of your cache and there is a button to flush it if you want to.

Where is the cache?

/wp-content/uploads/sgfc-cache/` (css + fonts).

Debugging

Add define('SGFC_DEBUG', true); in wp-config.php to write to debug.log.

更新日志:

1.8.23 Minor fixes 1.8.22 Fixed issue that sometimes caused mixed content 1.8.16 Fonts are preloaded for enhanced performance 1.8.6 Added cache flush (Tools Menu) 1.8.5 Minor bug fixes 1.8.4 Minor bug fixes 1.8.3 Minor bug fixes 1.8.0