Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Justin.F Posted January 12, 2015 Posted January 12, 2015 Google's pagespeed insights was telling me to "leverage browser caching" and I have heard that pagespeed can now affect pagerankingI couldn't find anyway to get it to go away by changing up cache settings within adminCPThe way I got rid of it was to add the following to my .htaccess file - just wondering is there anything wrong with doing this?## EXPIRES CACHING ##<IfModule mod_expires.c>ExpiresActive OnExpiresByType 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 text/html "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 1 month"</IfModule>## EXPIRES CACHING ##
Recommended Posts
Archived
This topic is now archived and is closed to further replies.