Cache TTL error on Lighthouse extension

While updating the SALO Consulting homepage I have used Lighthouse exstension to do best practice with guidelines of Google search.

Serve static assets with an efficient cache policy

For the images to be cached on the server side you will need to add coding to the .htaccess file.

Code of htacccess


ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 days"


Once deployed and uploaded the new code to the server I could see Cache TTL being saved straight away.

A list of errors from lighthouse browser extension regarding the Cache TTL.