Google Fonts are loaded from Google’s servers, often through several separate stylesheet requests. Powered Cache can combine those requests into one, let text show while fonts are still loading, and serve the same fonts from Bunny Fonts instead of Google. With Premium, it can also host the fonts on your own site.
Available in: Powered Cache (free). Self-host Google Fonts needs Powered Cache Premium.
Where to find it: Powered Cache → File Optimization → Fonts
Which option should I choose? #
| Option | Speed | Who receives the visitor’s request | Plan |
|---|---|---|---|
| Combine Google Fonts + Font Display Swap | Fewer requests, text visible sooner | Free | |
| Bunny Fonts | Similar to Google | Bunny Fonts | Free |
| Self-host Google Fonts | No extra connection to another domain | Only your own site | Premium |
- Most sites: turn on Combine Google Fonts and keep Font Display Swap on. This is what Apply Recommended Settings does.
- Sites that want no request to Google (for example for privacy reasons in the EU): use Self-host Google Fonts with Premium. On the free plan, use Bunny Fonts.
Google Fonts and privacy (GDPR) #
When a page loads fonts from Google’s servers, each visitor’s browser connects to Google, and Google receives the visitor’s IP address. Under the EU’s GDPR, an IP address counts as personal data. In January 2022, a German court (Landgericht München I) ruled that a website owner had to stop passing visitors’ IP addresses to Google through embedded Google Fonts without their consent. Since then, many EU site owners avoid loading fonts from Google directly.
Combining requests does not change this: the browser still connects to Google. Bunny Fonts replaces Google with another third-party provider. Self-hosting removes the third party completely, because visitors only connect to your site. This page is not legal advice. Check your own obligations with your privacy adviser.
Settings #
Combine Google Fonts #
Merges the Google Fonts stylesheets that your theme and plugins load into a single request. Default: off. Apply Recommended Settings turns it on, unless Autoptimize, Perfmatters or PhastPress is active.
Powered Cache collects every enqueued stylesheet from fonts.googleapis.com (or fonts.bunny.net), merges the families, their weights and subsets, removes the original requests and loads one combined stylesheet instead. Font stylesheets written directly into theme templates, and fonts loaded by JavaScript, are not combined.
Font Display Swap #
Adds display=swap to the font request, so the browser shows text in a fallback font right away and switches to the web font once it has loaded. Without it, text can stay invisible while the font downloads. Default: on.
Font Display Swap is applied to the combined request, so it only has an effect while Combine Google Fonts is on. Keep both on together.
Bunny Fonts #
Serves Google Fonts through Bunny Fonts (fonts.bunny.net), a drop-in replacement that offers the same font families. Default: off.
Powered Cache replaces every fonts.googleapis.com address in the page HTML with fonts.bunny.net, including addresses written directly into templates. The font files then come from Bunny Fonts as well. Fonts that a CSS file imports with @import are not changed, because only the page HTML is rewritten. You can combine Bunny Fonts with Combine Google Fonts.
Self-host Google Fonts (Premium) #
Downloads the font stylesheets and font files to your site and serves them from there. See Self-host Google Fonts. When both Bunny Fonts and self-hosting are on, the fonts are downloaded from Bunny Fonts and still served from your site.
Check the result #
- Clear the cache and open a page in a private window.
- In the browser developer tools, open the Network tab and filter by
fonts. - With Combine Google Fonts, you should see one
fonts.googleapis.com/css?family=…request containingdisplay=swap. With Bunny Fonts, the requests go tofonts.bunny.net.
Troubleshooting #
A font or font weight looks wrong after combining #
Turn off Combine Google Fonts, clear the cache and check again. If the font is correct without combining, keep it off or switch to self-hosting. See Broken layout after optimization.
Requests to Google remain #
A plugin may load fonts with JavaScript or through @import in a CSS file, which Powered Cache does not rewrite. Find the source in the Network tab (the Initiator column) and change the font setting in that theme or plugin.
For developers #
Filters: powered_cache_fo_google_font_display (the display value of the combined request) and powered_cache_fo_google_fonts_domain (the domain of the combined request). See the hooks reference.
Related docs #
- Self-host Google Fonts (Premium)
- Preload fonts
- Minify and combine CSS
- LCP Optimization (Premium)