Archived topic
Preload self hosted fonts?
3 replies · Started by Annamari on February 11, 2021
Hi,
I've used this article in the documentation to host fonts locally: https://docs.generatepress.com/article/adding-local-fonts/
How is it possible to add <link rel=preload> to improve Google Pagespeed Insights scores?
Thank you,
Annamari
Hi there,
You can try David's answer here:
https://generatepress.com/forums/topic/local-font-pagespeed-insights/#post-1534803
Make sure to replace the font url to the url used by your site's font.
Hi Elvin, perfect, thank you! (Tried to search for it earlier, but couldn't find it...)
No problem. glad you got it sorted. :)