Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1184906

    How to implement rel=preload (Preload Key Requests) for FONT (entypo-fontello)? Sitewide?

    #1185331

    Hey corefocusgroup,

    Please have a look at the following thread:
    https://kriesi.at/support/topic/slow-loading-entypo-fontello-woff/

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1289620

    Hello!
    I woul dlike to do the same because the loading of entypo fontello impacts quite a lot on my page speed score.

    @Corefocusgroup
    , have you tried to serve fonts using a cdn and then adding <link rel=preload> ?
    If so, did you have an improvement in your page speed score?
    Thank you for help!

    #1290768

    Hi,

    @corefocusgroup
    as we have not heard back from you as to if this had helped you, but you can also see this thread where unfortunately there is no other way to load the icon font aside from using font face, so the only way to optimize it is to adjust the font-display property.

    function avf_custom_font_display( $font_display, $font_name )
    {
    	// Check for a font and change the default theme setting
    	if( 'entypo-fontello' == $font_name )
    	{
    		return 'block';
    	}
    
    	return $font_display;
    }
    
    add_filter( 'avf_font_display', 'avf_custom_font_display', 10, 2 );

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to implement rel=preload (Preload Key Requests) for FONT (entypo-fontello)’ is closed to new replies.