Hi @markhhg,
The ExpiresByType values are based on the famous HTML5 Boilerplate: 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
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.
The issue is reported by pagespeedinsight only
@markhhg can you send us a link or a screenshot?
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.
Sorry – no change on the 2nd or the 3rd run 🙁
@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?