This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
It’s been mentioned that our site is loading very slowly. I’ve optimized all images and it’s still quite slow to load.
I found this code in the documentation. Will this help if I add this to the .htaccess file?
Is this the right thing to do? What is your suggestion?
thank you!
ExpiresActive On
ExpiresDefault “access plus 6 month”
ExpiresByType text/css “access plus 6 month”
ExpiresByType text/plain “access plus 1 year”
ExpiresByType text/woff “access plus 1 year”
ExpiresByType image/gif “access plus 1 year”
ExpiresByType image/png “access plus 1 year”
ExpiresByType image/jpeg “access plus 1 year”
ExpiresByType application/x-javascript “access plus 6 month”
ExpiresByType application/javascript “access plus 6 month”
ExpiresByType application/x-icon “access plus 1 year”