Archived topic
Actual fonts Doesn't Load at the first attempt
7 replies · Started by Pradeep on October 5, 2022
Hello Folks,
I have a technical blog 'www.linuxtechi.com'. I have locally downloaded the nunito fonts on the server itself. But when I try to browse any page for the first time then it is not loading the nunito fonts and after reloading the same page then it loads nunito fonts.
Ask is why it is not loading these fonts at first attempt.
Regards,
Pradeep Kumar
Hello Pradeep,
Have you followed the documentation on how to add local fonts?
Here's the documentation https://docs.generatepress.com/article/adding-local-fonts/
Hi Jean,
I have referred the same doc step-by-step. Interesting point is that when I refresh a page then only it loads newly added fonts.
Regards,
Pradeep Kumar
Hi Pradeep,
Can you try temporarily disabling caching/optimization plugins, and then test again for the occurrence of the issue through Incognito mode?
Hi,
I am using cloudflare and ezoic caching for my blog. After clearing cache from both the components, still no change in the behavior.
Regards,
Pradeep Kumar
Hi there,
in your @font-face CSS chnage the font-display: optional; to font-display: auto;
Thank you David!! and team. It works now!!
Glad to hear that