[wd_asp elements=’search’ ratio=’100%’ id=1]

Add Expires Headers to your .htaccess file – Gtmetrix Error

8th April 2019

Php - Miscellaneous

php codehaven

If you get the following error in GTmetrix then add the following code to your .htaccess file.
expires header error in gtmetrix
# BEGIN EXPIRES

ExpiresActive On
ExpiresDefault "access plus 1 week"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/plain "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-icon "access plus 1 year"

# END EXPIRES