font-display in autoptimizeExtra.php
-
on my site in https://developers.google.com/speed/pagespeed/insights google says: Ensure text remains visible during webfont loads
May I ask you
in autoptimize/classes/autoptimizeExtra.php
is it good to add &display=swap after fontlike this
$fonts_markup = ‘<link ‘ . $rel_string . ‘ id=”ao_optimized_gfonts” href=”https://fonts.googleapis.com/css?family=’ . $fonts_string . ‘&display=swap” />’;
best regards
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘font-display in autoptimizeExtra.php’ is closed to new replies.