Hummingbird font-display and inefficient cache policy issue

1. I have Divi theme installed and Divi inserts 5 fonts dynamically. Hummingbird suggests to use font-display property. How to use font-display rule in these fonts?
2. Also Hummingbird shows me another report "Your page is serving following 50 resources with an inefficient cache policy". How can I fix this?

  • Kasia Swiderska
    • Support nomad

    Hello emilio_gagliardi ,

    1. I have Divi theme installed and Divi inserts 5 fonts dynamically. Hummingbird suggests to use font-display property. How to use font-display rule in these fonts?

    As it is said in the Hummingbird

    nfortunately, it's not possible to change the @font-face rule for web fonts hosted with external services such as Google Fonts.

    Those fonts in Divi are served from External services. In this case, you would need to use fonts that are stored on your server locally - here is a tutorial on how to do that https://www.elegantthemes.com/blog/resources/how-to-use-downloaded-fonts-in-wordpress-without-a-plugin
    and here is more on how to use Google Fonts locally https://onlinemediamasters.com/load-google-fonts-locally-wordpress/

    2. Also Hummingbird shows me another report "Your page is serving following 50 resources with an inefficient cache policy". How can I fix this?

    It looks like Google recommends now to have cache set for 1 year. In your case, it will be possible only for the Media and Images (you can change that in the Browser Caching in Hummingbird).
    You have also files on our CDN which has now cache for 30 days. We have already reported this to our developers and they working on it. This we are going to fix on our side.
    Other files are server from other external servers so nothing can be done with them.

    kind regards,
    Kasia

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.