How I Fixed Google Fonts Still Loading After Installing OMGF and LiteSpeed Cache

WordPress troubleshooting · SyncCrawl case study

OMGF flagged three Google Fonts on my WordPress site even though other fonts already loaded locally. I found two sources: direct Google font URLs in my shared CSS and an older copy of that CSS on the homepage. Here’s how I fixed both and verified the live pages.

  • Same font files
  • Homepage-only LiteSpeed exclusion
  • Verified on live pages
font-check.txtSyncCrawl homepage
CheckBeforeAfter
Google font URL references30
Font familiesOxanium, Inter, JetBrains Mono
Files inspectedLive HTML and linked stylesheets

Counts are URL references in the files I inspected. This case study does not measure page speed.

the symptom

What the OMGF Warning Meant

OMGF’s dashboard listed three .woff2 URLs from fonts.gstatic.com: Oxanium for headings, Inter for body text, and JetBrains Mono for code and interface details. Each URL was listed against multiple pages. The warning told me which URLs OMGF had found and could not process automatically. I still had to find the stylesheet that supplied them.

OMGF was already serving other font files from SyncCrawl. The three references in the warning came from custom @font-face declarations in the site’s shared CSS. Those declarations pointed straight to the Google-hosted font files. That was the source I needed to change.

the fix

How I Fixed the CSS and Cache

  1. Find the external font URLs. I checked the public HTML and linked stylesheets for fonts.googleapis.com and fonts.gstatic.com. On SyncCrawl, the three flagged URLs matched declarations in WordPress Additional CSS.
  2. Replace the source in the existing font rules. I kept the same font families, weights and WOFF2 files. WordPress rejected the standalone uploads, so I embedded the original files directly in the shared CSS as data URLs. If your host provides a way to upload and serve font files, you can use same-origin WOFF2 URLs instead. Separate files let the browser cache each font independently.
  3. Purge the page cache and check the public pages. The updated CSS appeared on the other pages I checked, but the homepage still contained the three old URLs. They were inside LiteSpeed’s inline Unique CSS, a generated CSS file tailored to a page. The old rules appeared even on a page-cache miss. With LiteSpeed’s optimization bypassed for diagnosis, the updated font rules were present.
  4. Exclude only the affected homepage from Unique CSS. In LiteSpeed Cache → Page Optimization → Tuning CSS → UCSS URI Excludes, I used an exact match for the homepage and purged the page cache. For SyncCrawl that rule is ^https://synccrawl.com/$. Use your own canonical homepage URL if you need the same workaround. The rest of the site can continue using Unique CSS.
decision-log.txtwhen to use the exclusion

Start by fixing the original CSS. Try regenerating Unique CSS after the change. Use a page-specific exclusion if an older generated copy keeps serving the external URLs after a purge.

verification

How to Check Whether Fonts Load Locally

  1. Open the public URL in a private Chrome window. Open Developer Tools → Network, enable Disable cache, and reload with Developer Tools open.
  2. Filter for fonts.gstatic.com, then fonts.googleapis.com. If a request appears, check Initiator to trace it to the stylesheet or script that triggered it.
  3. Check the normal homepage URL and the pages named in OMGF’s warning. A same-origin font file should show your domain in the request URL. A font embedded in CSS needs no separate Google request.

For SyncCrawl, I checked the normal homepage HTML and its linked stylesheets after the change. All three font files were present in the site’s CSS and I found zero Google Fonts URLs. I also checked the five pages listed in the OMGF warning, including Best SEO Tools, Local SEO and Best LiteSpeed Hosting. The dashboard still displayed the earlier warning, while the live HTML and stylesheets on all five pages showed the local font rules and zero Google Fonts URLs.

common questions

When the Warning Persists

Do I need OMGF Pro for this fix?

I resolved this case by changing where the three existing font rules got their files. OMGF continued to serve the other font files it already managed.

Why did the homepage behave differently?

It was still receiving an older generated Unique CSS copy with the Google URLs. Testing the live homepage and the unoptimized response gave me a way to isolate the difference.

Did this improve Core Web Vitals?

I verified the font URLs and the CSS delivery. I did not run a controlled before-and-after performance test. If you’re tracking speed, measure the same pages on mobile before and after changing the font setup.

related guides

Check the Rest of Your WordPress Setup

For the next checks, see my Core Web Vitals guide for WordPress. If you want help tracing which part of your setup loads a font or stylesheet, that’s something I can review as part of a WordPress SEO audit.

References: OMGF’s guide to external font requests · LiteSpeed’s UCSS URI Excludes documentation · Chrome DevTools Network guide