Skip to main content

Self-Host Google Fonts

Updated this week

FlyingPress improves performance and privacy by downloading and serving Google Fonts directly from your own domain, instead of relying on Google’s servers.

How it works

  • When enabled, FlyingPress detects fonts loaded from fonts.googleapis.com or fonts.gstatic.com

  • The fonts and their CSS are downloaded during page caching

  • They are then served locally from the cache folder: wp-content/cache/flying-press/

Benefits

  • Eliminates external requests to Google Fonts

  • Speeds up font loading and improves Core Web Vitals

  • Enhances privacy by preventing Google from tracking font usage

  • Increases cacheability and reduces DNS lookups

Notes

  • Works automatically - no need to manually enqueue fonts

  • Applies to all fonts loaded via Google Fonts (inline or via theme/plugin)

  • Font files are re-downloaded if changes are detected during cache regeneration

Did this answer your question?