Starting May 29, the {{getFontsCollection}} Handlebars helper in Stencil themes will use Google Fonts’ newly released support for font-display.

The default behavior of this helper has been changed to return a Google Fonts URL with ?display=swap which tells Google Fonts to use font-display: swap; to govern the font loading strategy for your storefront. This should result in a significant improvement to the first-page-load performance of your storefront, as fonts will not block the render of the page.

If you wish to further configure or customize the font-display mode, you can supply an argument on the helper to do so.