Lighthouse Doesn't Know Font is Lazy-Loaded?

107 views Asked by At

Lighthouse thinks my Roboto font load is blocking for over a second:

enter image description here

...but I'm loading Roboto with webfontloader:

import WebFont from 'webfontloader';

WebFont.load({
    google: {
        families: [
            'Roboto:300,400, 500',
        ],
    },
});

...and if I do an empty cache and hard reload and check my network tab, it appears to show the fonts being loaded very quickly:

enter image description here

Is there a way to get Lighthouse to detect that fonts are loaded in a non-blocking way?

0

There are 0 answers