Skip to content

Latest commit

 

History

History
11 lines (10 loc) · 632 Bytes

README.md

File metadata and controls

11 lines (10 loc) · 632 Bytes

Load Fonts After Page Load


The opening speed of the site is of great importance in Google algorithms. The size of the CSS code you use and the loading of the fonts you use with CSS have a great impact on this speed.

This little JavaScript code adds your font CSS files, which take a long time to load, to the page (into head tags) after the page is loaded. Thus, the opening speed of the site increases. You can see this on the PageSpeed Insights site.

Activate this code when the page is loaded, or activate it when the user scrolls down.

Enjoy.

Mesut - https://www.ozellikleri.net