Load Google Fonts locally
Google Fonts loads font files from Google’s servers by default. This adds an external request to every page and sends visitor IP addresses to Google. Loading fonts locally removes that external request and keeps font files on your own server.
Milano includes a built-in option to download and serve Google Fonts locally.
Turn on local Google Fonts
Section titled “Turn on local Google Fonts”- Go to Milano → Theme Settings → Typography.
- Find the Google Fonts section.
- Turn on Load fonts locally.
- Click Save Changes.
Milano downloads the font files your site uses and stores them in your WordPress uploads folder. Future page loads serve these files from your own server instead of Google’s CDN.
What changes
Section titled “What changes”- Font files download once when you turn on the option.
- Your site no longer makes requests to
fonts.googleapis.comorfonts.gstatic.com. - The fonts look identical — the same font files are used, just served from a different location.
- Page speed improves because you remove two external DNS lookups.
Update local fonts after a theme update
Section titled “Update local fonts after a theme update”When Milano updates, new font weights or styles may become available. Refresh your local copies:
- Go to Milano → Theme Settings → Typography.
- Turn off Load fonts locally.
- Click Save Changes.
- Turn it back on.
- Click Save Changes again.
Milano re-downloads all active font files with the latest versions.
Troubleshooting
Section titled “Troubleshooting”Problem: Fonts look different after turning on local loading. Fix: Clear your browser cache and your site cache. The old Google Fonts CSS may still be cached.
Problem: Font files use too much disk space. Fix: Each font family uses about 200–500 KB depending on how many weights you use. If you selected many font families, reduce your typography selections under Milano → Theme Settings → Typography.