![]() |
Leverage browser caching .htaccess fix
Hello I am new to this forum and hope someone can help me resolve this issue. I have been getting very poor pingdom and google page speed scores due to an error "Leverage browser caching"
I tried various .htaccess code fixes from various sites and non of them really succeeded in augmenting my score more than a couple of points. However when I came across this code it worked so well it increased my google and pingdom score to 99% but then suddenly after a few seconds the site went down with an error 500. I am using joomla 2.5 and forum powered by kunena. Can anyone explain which part of this code could have caused the site to go down? Server techies told me that > expires_module (static) is installed so could it be the first part of the command which tells the server to turn "enable expiration" which is causing this? Thank you for your assistance. David <IfModule mod_expires.c> # Enable expirations ExpiresActive On # Default directive ExpiresDefault "access plus 1 month" # My favicon ExpiresByType image/x-icon "access plus 1 year” # Images ExpiresByType image/gif "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType image/jpg "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" # CSS ExpiresByType text/css "access 1 month” # Javascript ExpiresByType application/javascript "access plus 1 year" </IfModule> |
| All times are GMT +1. The time now is 06:02 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.