Help me resolve some errors on Pingdom
-
My website: https://www.devreveal.com/
When I tested on https://tools.pingdom.com/
I got these errors:
1. Serve the following static resources from a domain that doesn’t set cookies.
2. Specify an expiration at least one week in the future for the following resources.
3. The following publicly cacheable, compressible resources should have a “Vary: Accept-Encoding” header”.
I edited my .htaccess file like recommendation but it does not work:<IfModule mod_headers.c> <FilesMatch "\.(js|css|xml|gz)$"> Header append Vary: Accept-Encoding </FilesMatch> </IfModule> ## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType 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 application/pdf "access 1 month" ExpiresByType application/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 2 days" </IfModule> ## EXPIRES CACHING ##
Please help me resolve them. Thank you very much.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Help me resolve some errors on Pingdom’ is closed to new replies.