EasyFonts – Host Google Fonts Locally, Fast & Auto-Optimize, GDPR Compliant changelog

By FluxPress, on WordPress.org since 2023. 1,000+ active installs.

Browse code

17 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 2.0.4
    • Fixed: browser console warning “…was preloaded using link preload but not used…”. After a settings change, the preloaded fonts and the font stylesheet could point at two different versions of the same font file, so each preloaded font was downloaded twice and the preload was wasted. Every link to a font now carries the same version, taken from the font file itself.
    • Fixed: on page-cached sites the measurement beacon failed with 403 “Cookie check failed” once a cached page was a day old. WordPress rejected the page’s expired nonce before Easy Fonts could check its cache-safe token, so Smart Preload and per-page font loading stopped learning. The beacon now sends only the token, and beacons from pages cached by older versions are accepted again as soon as you update. The async font reporter gets the same fix.
    • Fixed: the beacon and the async font reporter now work on sites with plain permalinks (they returned 404 there).
    • Fixed: after Purge, the inlined font stylesheet could keep old font links for up to a day.
    • Improved: Smart Preload now preloads the exact weights a page shows above the fold, instead of every weight of the font family. A family with many weights no longer fills the preload slots with weights the page never uses.
    • Improved: at most 3 fonts are preloaded per page (was 6), so fonts compete less with your main image. Your “always preload” choices now take their slots first. Filter: easyfonts_preload_cap.

    And 2 more notes.

    Source Diff vs 2.0.3
  2. 2.0.3
    • Fixed: database error “BIGINT UNSIGNED value is out of range” fired on nearly every render — Smart Preload’s weight matching now uses signed arithmetic, so preloads work again on stock MySQL/MariaDB. Props @harryfear for the excellent report.
    • Fixed: beacon throttling and data retention were skewed on sites with a non-UTC timezone; all internal timestamps are now stored and compared in UTC.
    • Fixed: a failed external stylesheet fetch is now remembered (negative cache), so an unreachable CSS host can no longer add its full timeout to every page view. New filters: easyfonts_css_timeout, easyfonts_css_fail_ttl.
    • Fixed: the measurement beacon now works on page-cached sites — a cache-safe token authorises it, so an expired cached nonce no longer silently stops measurements.
    • Improved: a font is scoped off a page only after multiple consistent beacon measurements (filter easyfonts_scope_out_min_measurements, default 2), so a single bad or forged report can’t remove a font.
    • Security: beacon routes are normalised to canonical paths, and the decisions table is now hard-capped in weekly cleanup (filter easyfonts_gc_max_decision_rows) so anonymous requests can’t grow it without bound.

    And 4 more notes.

    Source Diff vs 2.0.2
  3. 2.0.2
    • New: per-page font scoping. Each page now loads only the fonts it actually uses. Many themes (e.g. Blocksy) enqueue their whole Google-fonts set on every page; Easy Fonts now measures what each page really renders (in a real browser) and leaves the unused families off that page’s stylesheet — while still hosting them on the pages that do use them. Matching is done at the family level and is self-correcting: a font is scoped out only after the page has been measured, it returns automatically if the page starts using it, and a font is never dropped from a page that hasn’t been measured yet.
    • Fixed: a font declared on a page is no longer wrongly dropped from the combined CSS because of a weight/style mismatch (e.g. a single-weight family used at a bold weight). Usage is now matched per family.
    • Improved: the combined stylesheet is unique per page font-set and shared when identical. Pages that use the same fonts reuse the same cached file; a page with a different set gets its own. Identical sets are never regenerated, saving CPU and disk.
    • Improved: used/unused classification stays current. Beacon measurements now refresh hourly instead of being locked for a week, so a font that starts (or stops) being used is reflected quickly, and “Optimize” forces an immediate fresh measurement of the homepage.
    • Fixed: preloads are accurate and page-specific. A font is preloaded on a page only when it actually renders above the fold there (matched per family, so a face the browser shows at a different weight than the hosted file — e.g. a single-weight family shown bold — still preloads correctly). A font above the fold on just one page is preloaded only on that page; a font above the fold on every page is preloaded everywhere from a cached set, with no per-page lookup. Your manual “always preload” choices are respected wherever the family is used.
    • Fixed: page counts and usage are keyed by the page path, so cache-buster and probe parameters (and tracking/builder query strings) can no longer inflate the dashboard with duplicate rows.

    And 6 more notes.

    Source Diff vs 2.0.1
  4. 2.0.1
    • Fixed: rare white screen / blank front-end on some hosts (esp. FastCGI/cgi-fcgi). Font binaries are no longer downloaded during a visitor’s page render — they are fetched by a non-blocking background warm request, so a slow or blocked outbound connection can never stall the page.
    • Fixed: the output buffer now fails open — if anything goes wrong while optimising a page, the original HTML is always returned instead of a blank page.
    • Improved: provider tags are only removed once their fonts are confirmed hosted locally, so the page never loses its fonts while the cache warms.
    • Improved: provider stylesheet CSS is cached, so font detection no longer hits the network on every page load.
    • Hardened: guard for WordPress’s HTML API, safer regex handling, and PHP 7.4 compatibility shims.
    • Note: no settings, styling, or features changed. After activation (or after changing fonts) the first visit serves the original fonts for a moment while the cache warms in the background, then switches to self-hosted automatically. You can also warm immediately from Settings → Optimize.

    And 3 more notes.

    Source Diff vs 2.0.0
  5. 2.0.0
    • New: real-browser usage measurement — see which fonts render and which are above the fold.
    • New: smart auto-preload of above-the-fold fonts (capped) for better LCP; your manual choices are always respected.
    • New: zero-CLS metric-matched fallback fonts generated from real font metrics.
    • New: detect and self-host fonts from inline CSS, theme/plugin CSS, external/CDN stylesheets, and the Web Font Loader (webfont.js).
    • New: optional async / JS-injected Google Fonts blocker.
    • New: full subset selection (Latin, Cyrillic, Greek, Vietnamese, Arabic, Devanagari, CJK, and more).

    And 9 more notes.

    Source Diff vs 1.3
  6. 1.3

    No notes for this release in the current readme.

    Source Diff vs 1.2
  7. 1.2

    No notes for this release in the current readme.

    Source Diff vs 1.1.4
  8. 1.1.4

    No notes for this release in the current readme.

    Source Diff vs 1.1.3
  9. 1.1.3

    No notes for this release in the current readme.

    Source Diff vs 1.1.2
  10. 1.1.2

    No notes for this release in the current readme.

    Source Diff vs 1.1.1
  11. 1.1.1

    No notes for this release in the current readme.

    Source Diff vs 1.1.0
  12. 1.1.0

    No notes for this release in the current readme.

    Source Diff vs 1.0.4
  13. 1.0.4

    No notes for this release in the current readme.

    Source Diff vs 1.0.3
  14. 1.0.3

    No notes for this release in the current readme.

    Source Diff vs 1.0.2
  15. 1.0.2

    No notes for this release in the current readme.

    Source Diff vs 1.0.1
  16. 1.0.1

    No notes for this release in the current readme.

    Source Diff vs 1.0.0
  17. 1.0.0

    No notes for this release in the current readme.

    Source