Title: ExpiresByType values
Last modified: March 5, 2021

---

# ExpiresByType values

 *  Resolved [markhhg](https://wordpress.org/support/users/markhhg/)
 * (@markhhg)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/expiresbytype-values/)
 * Hi, all ExpiresByType default values (css, js, font files) are not the same as
   Google Guidelines. They are 30 days, can this be extended by default, or editable
   maybe?

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Optimocha](https://wordpress.org/support/users/optimocha/)
 * (@optimocha)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/expiresbytype-values/#post-14139513)
 * Hi [@markhhg](https://wordpress.org/support/users/markhhg/),
 * The ExpiresByType values are based on the famous HTML5 Boilerplate: [https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess](https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess)
 * Also, I don’t see any guidelines on Google’s web.dev website: [https://www.google.com/search?q=ExpiresByType+site%3Aweb.dev](https://www.google.com/search?q=ExpiresByType+site%3Aweb.dev)
 * However, you can rest assured that the values SBP has aren’t at all against Google’s
   guidelines.
    -  This reply was modified 5 years, 2 months ago by [Optimocha](https://wordpress.org/support/users/optimocha/).
 *  Thread Starter [markhhg](https://wordpress.org/support/users/markhhg/)
 * (@markhhg)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/expiresbytype-values/#post-14139557)
 * The issue is reported by pagespeedinsight only
 *  Plugin Author [Optimocha](https://wordpress.org/support/users/optimocha/)
 * (@optimocha)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/expiresbytype-values/#post-14139602)
 * [@markhhg](https://wordpress.org/support/users/markhhg/) can you send us a link
   or a screenshot?
 *  Thread Starter [markhhg](https://wordpress.org/support/users/markhhg/)
 * (@markhhg)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/expiresbytype-values/#post-14139660)
 * Sure: [http://prntscr.com/10dqs3m](http://prntscr.com/10dqs3m)
 *  Plugin Author [Optimocha](https://wordpress.org/support/users/optimocha/)
 * (@optimocha)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/expiresbytype-values/#post-14139724)
 * Ah, gotcha: When you test a page for the first time, it’ll show the recommendation
   for your images because, well, it’s your first test and Lighthouse’s emulated
   browser haven’t cached those assets yet. When you test for the second time (which
   is the proper practice), you won’t see the images on that list because they’re
   cached.
 *  Thread Starter [markhhg](https://wordpress.org/support/users/markhhg/)
 * (@markhhg)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/expiresbytype-values/#post-14139793)
 * Sorry – no change on the 2nd or the 3rd run 🙁
 *  Plugin Author [Optimocha](https://wordpress.org/support/users/optimocha/)
 * (@optimocha)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/expiresbytype-values/#post-14140076)
 * [@markhhg](https://wordpress.org/support/users/markhhg/) that’s strange, I tested
   your homepage twice and it showed no recommendations for browser caching in the
   second run.
 * When you change the .htaccess values manually (like setting 12 months instead
   of 1 month for images), how does Lighthouse react to the changes?

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘ExpiresByType values’ is closed to new replies.

 * ![](https://ps.w.org/speed-booster-pack/assets/icon.svg?rev=2342732)
 * [Speed Booster Pack ⚡ PageSpeed Optimization Suite](https://wordpress.org/plugins/speed-booster-pack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/speed-booster-pack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/speed-booster-pack/)
 * [Active Topics](https://wordpress.org/support/plugin/speed-booster-pack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/speed-booster-pack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/speed-booster-pack/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [Optimocha](https://wordpress.org/support/users/optimocha/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/expiresbytype-values/#post-14140076)
 * Status: resolved