Leverage Browser Cache Fix with Yoast SEO
When testing page speed, you're likely to see a warning about implementing "Leverage Browser Cache". This has to do with Desktop machines and the various Internet browser caching certain things when they return to your website (after the first time) so they don't have to reload Javascript stuff and other things.
This is the fix for those using Yoast SEO. My original video tutorial instructed how to make this change with All-in-One SEO. The theory, of course, is identical. The difference is how you access the .HTAccess configuration file.
Here's the original tutorial for AIO users:
https://my.wealthyaffiliate.com/training/leverage-...
And, here is the code I reference within the tutorial:
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
## EXPIRES CACHING ##
I hope this helps.
Please let me know how the video resolution appears on your screen. I'm still tweaking my new video recording software.
Thanks very much!
Cheers,
pj