Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1312491
    Gee R
    Participant

    Hi there (and Happy New Year!)

    I’d like to reduce the number of https requests that my site makes to Google fonts by combining the call into a single css. The thing is I’m using multiple font weights.

    If I add @import url(https://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,300italic,400italic,); this adds the additional font weights I need – but also adds an extra https call. Is there a way to make a single request (maybe even including font awesome if thats possible) ?

    Thanks.

    #1312556
    Christian
    Moderator

    Hey Gee,

    Regretfully, this would only be possible with custom development or an optimization plugin.

    Please also check if your web host supports HTTP/2 as you don’t need to concatenate (combine) files. See https://blog.wp-rocket.me/5-speed-optimization-myths/ for more details.

    Thanks.

    #1312574
    Gee R
    Participant

    OK, thanks anyway.

    #1312590
    Thai
    Moderator

    You’re most welcome 🙂

  • <script> jQuery(function($){ $("#no-reply-1312491 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>