[Hummingbird Pro] Serve static assets with an efficient cache policy

Hey, so in the performance audit im getting an issue with “Serve static assets with an efficient cache policy” everything Im hosting locally is set to 8 days, the only files that at set to 1m are the one hosted on the WPMU CDN example https://hb.wpmucdn.com/condowizard.ca/f847d296-fd17-4acc-a54e-8f4aee9c7e31.css
Can we change this so that this won’t be an issue?

  • Sanowar Prince
    • FLS

    Hi DAVID,

    Hope you’re doing good today.

    I had a closer look on your issue and after a little investigation I found that it was actually Browser Caching Expiry Time issue.

    Hummingbird Performance Test is based on Google PageSpeed Insights API which now recommends to set cache expiry time to 1 year. But on your site it was set to 16 days which was causing the issue. You would find more details here https://developers.google.com/web/tools/lighthouse/audits/cache-policy.

    To fix the issue, I set the cache expiry time to 1 year. Then I cleared cache from Hummingbird and run the Performance Test again. Then I checked the Audits and found that all assets are fine except two assets. These two assets are actually loading from external sources (Google map and Google analytics).

    Please note, as Hummingbird has no control over external assets, so Hummingbird is unable to apply cache expiry time on those.

    Please check your site on your end now and let us know if it works for you as well.

    Best regards,
    Sanowar