Can Hummingbird help Add Expires headers

Pingdom suggests to Add Expires headers for my site. I have enabled Browser Caching in my site but still getting the issue. Can you please check?

  • Ash
    • Code Norris

    Hello Scott

    Enabling browser caching should fix this issue.

    Who is your host? Would you please ask them if they have any configuration related to expire headers in the vhost file for your domain? Some host don’t allow all the settings to be overridden. So, I want to make sure this is not the case for your issue.

    Let us know how it goes. Have a nice day!

    Cheers,

    Ash

  • Scott
    • For The Love of Link Juicee

    I host with SiteGround. All they want me to do is use their SG SuperCache plugin. Now actually it is much better than than it was but I think hummingbird is still better on features.

    I will email then again to ask about the vhost file though, it’s something I had not thought of.

  • Nithin Ramdas
    • Support Wizard

    Hi Scott,

    Seems like your Host does override the Expire headers for Media, and Image File Types to 1 month, and hence the settings configured via the Hummingbird doesn’t make much difference.

    If you check Google Page Speed, under Serve static assets with an efficient cache policy, you’ll notice 22 assets loaded, which needs to have an increased browser cache expiry time.

    What Google recommends is to set to 1 year, as meant in their documentation:

    https://developers.google.com/web/tools/lighthouse/audits/cache-policy?utm_source=lighthouse&utm_medium=unknown

    When possible, cache immutable static assets for a long time, such as a year or longer.

    Asking your hosting provider to set the browser cache expiry to 1 year for Media, and Images and then check whether it makes any difference in Pingdom.

    Please do let us know how that goes, have a nice day ahead. :slight_smile:

    Regards,

    Nithin