Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-26-2012, 11:39 AM   PM User | #1
daviddmf
New to the CF scene

 
Join Date: Oct 2012
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
daviddmf is an unknown quantity at this point
Smile 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>
daviddmf is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:06 AM.


Advertisement
Log in to turn off these ads.