| 开发者 | easywpstuff |
|---|---|
| 更新时间 | 2026年6月8日 00:24 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
fonts.googleapis.com and fonts.gstatic.com adds DNS lookups, connections, and render-blocking delay that hurt LCP and TTFB. Local hosting kills that latency.<link> stylesheets, @import rules, inline @font-face, theme/plugin CSS files, external/CDN stylesheets, and the Web Font Loader (webfont.js) — then downloads and serves them locally.@font-face rules, and can inline it as minified CSS so it's not render-blocking.font-display: swap (or block, fallback, optional, auto) on every face to fix "Ensure text remains visible during webfont load."size-adjust, ascent-override) to eliminate layout shift while fonts load.preconnect, dns-prefetch, and preload tags pointing at Google's servers.fonts.bunny.net.easyfonts folder to /wp-content/plugins/, or install via Plugins → Add New.Yes. Once active, all Google Fonts are served from your own server — no requests to fonts.googleapis.com or fonts.gstatic.com, so no visitor IPs are sent to Google.
Yes. Removing external font connections, combining (or inlining) the stylesheet, preloading above-the-fold fonts, and adding zero-CLS fallbacks typically improve LCP and CLS in PageSpeed Insights, GTmetrix, and Lighthouse.
EasyFonts measures which fonts actually render in real browsers, then preloads the important ones, flags unused ones, and matches fallback metrics to prevent layout shift — going well beyond a static download-and-serve.
Yes. It processes the final HTML output, so it catches fonts from any theme, plugin, or builder — Elementor, Divi, Bricks, Beaver Builder, WPBakery, Oxygen, Astra, GeneratePress, Kadence, and more. Builder editors are automatically excluded so fonts display correctly while editing.
Yes. EasyFonts detects variable fonts and hosts them as a single optimized file instead of many separate weight files.
Yes. Fonts from fonts.bunny.net are detected and self-hosted alongside Google Fonts.
Yes. Point the CDN setting at your pull-zone and the hosted fonts and stylesheet are served through your CDN.
Yes — WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, and others. After optimizing, clear your page cache so visitors get the updated HTML.
Open Easy Fonts → Dashboard and click Empty cache. Fonts are re-detected automatically on the next visit or via Optimize now.
Yes. It finds font stylesheets across your whole page — themes, plugins, and builders — merges them into one file, and removes duplicates.
easyfonts_page_scope_fonts (set false to disable per-page scoping), easyfonts_force_families (always-load safelist), easyfonts_preload_cap, and easyfonts_beacon_throttle_hours.