how to load otf fonts in html faster
Put Fonts on CDN The .htaccess or httpd.conf Code The code can be placed with the .htaccess file or httpd.conf file: Use Non-Blocking CSS Loading Essentially using media=none let’s the browser download the stylesheet without blocking rendering, so when the stylesheet has loaded, setting the media to its desired setting will then render the screen as it should. Separate Font Selectors Storing Fonts in localStorage
You must be logged in to post a comment.