I have tried adding the following code to fix this error to my .htaccess, but it doesn’t seem to fix anything.
EXPIRES CACHING
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 application/x-shockwave-flash "access plus 1 month" ExpiresByType image/x-icon "access plus 1 year" ExpiresDefault "access plus 2 days" ## EXPIRES CACHING ##I am using wp supercache and mod rewrite is installed on the server (using hostgator). I am also using maxcdn!
When looking at the test result, the problem seems to be that a lot of .js files and images doesn’t have any expiration date set…
How can I fix this?