adobe / aem-guides-wknd

Tutorial Code companion for Getting Started Developing with AEM Sites WKND Tutorial
https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/overview.html
MIT License
285 stars 548 forks source link

#325 add preload of fonts before CSS rendering #344

Closed keepthebyte closed 2 years ago

keepthebyte commented 2 years ago

The fonts are currently only referenced in the CSS - the browser only starts downloading the fonts when it gets to render the CSS - that is late- and slows down overall paint of LCP. Preloading them earlier allows the browser to start painting earlier.

godanny86 commented 2 years ago

@keepthebyte closing this one, replacing with PR #345