Leverage browser caching & Specify a cache validator F
-
HI ! I have an issue here. When I check on pingdom.com I receive an F in Leverage browser caching & Specify a cache validator even with below coding in .htaccess. I have no 3rd party caching, so I do not understand why I still get an F. Please help!
Kolay gelsin# BEGIN LBCWpFastestCache
<FilesMatch “\.(ico|pdf|flv|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff|woff2|ttf|svg|eot)(\.gz)?$”>
<IfModule mod_expires.c>
AddType application/font-woff2 .woff2
ExpiresActive On
ExpiresDefault A0
ExpiresByType image/webp A2592000
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/ico A2592000
ExpiresByType image/svg+xml A2592000
ExpiresByType text/css A2592000
ExpiresByType text/javascript A2592000
ExpiresByType application/javascript A2592000
ExpiresByType application/x-javascript A2592000
ExpiresByType application/font-woff2 A2592000
</IfModule>
<IfModule mod_headers.c>
Header set Expires “max-age=2592000, public”
Header unset ETag
Header set Connection keep-alive
FileETag None
</IfModule>
</FilesMatch>
# END LBCWpFastestCache
# Begin cache control #
ExpiresActive on
ExpiresActive off
<FilesMatch “.*”>
Header unset Cache-Control
Header unset Expires
Header unset Last-Modified
FileETag None
Header unset Pragma
</FilesMatch>
# End cache control #
AddType application/font-woff2 .woff2
AddType x-font/ttf .ttf
AddType x-font/woff .woff
AddHandler application/x-httpd-php70 .phpThe page I need help with: [log in to see the link]
- The topic ‘Leverage browser caching & Specify a cache validator F’ is closed to new replies.