Features

How Aurora Handles Google Fonts Preconnect

By Daniel Ekay May 18, 2026 2 min read
Docs Features How Aurora Handles Google Fonts Preconnect
Share:
Last updated:

When you use Google Fonts in Aurora, the theme automatically adds preconnect hints to your page head that tell the browser to establish connections to Google’s font servers before they are needed. This reduces the time it takes for fonts to load.


What Aurora Outputs

Aurora injects the following two tags at the very start of the <head>, at the highest priority WordPress allows:

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>

The first establishes a connection to the Google Fonts API server. The second — with crossorigin — establishes a connection to the static font file server where the actual font files are hosted. Both connections are started as early as possible, before the browser has finished parsing the rest of the page.


Why This Matters

Without preconnect hints, the browser only begins connecting to Google’s servers when it encounters the font stylesheet link, partway through parsing the <head>. By then, several hundred milliseconds have already passed.

With preconnect, the connections are initiated immediately. By the time the browser reaches the font stylesheet, the connection is already established and the font files begin downloading sooner. The result is faster text rendering and a better Largest Contentful Paint score.


When These Hints Are Added

Aurora adds the preconnect tags on every page, regardless of whether a specific page uses Google Fonts. This is intentional. The connection cost is negligible, and it ensures fonts load as fast as possible on every page without conditional logic.

If you prefer not to use Google Fonts at all, Aurora supports self-hosted fonts via your child theme. See How to Use Custom Fonts Without Google Fonts. Self-hosted fonts eliminate the external connection entirely.

Make your blog stand out

Enjoy the ease and flexibility of Aurora. Create stunning blog designs your readers will love, with live preview editing and effortless template mixing and matching enabled.

Get Aurora today for just $39

Get Aurora