• Resolved zhabini

    (@zhabini)


    Hi,

    I’ve just updated LiteSpeed and the Google Fronts stopped loading. I tried to disable all the CSS-related optimizations and finally found the option which started breaking fonts: Load Google Fonts Asynchronously. When enabled, it removes the font CSS link from the page HTML, but doesn’t load fonts via JS instead (like it did previously with this option enabled).

    Maybe something changed with detecting Google Font URLs? This is the font link which is removed when the option is enabled but the font is not loaded by LiteSpeed’s JS:

    <link rel='stylesheet' id='google-fonts-css' href='https://fonts.googleapis.com/css?family=DM+Sans%3A700%7CDM+Sans%3A400%2C500&display=swap' media='all' />

    The link itself is valid, if you open it then it loads the font CSS just fine.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Recent update breaks Google Fonts’ is closed to new replies.