Forum Moderators: phranque

Message Too Old, No Replies

Expires & mod expire

         

sendandreturn

8:54 am on Aug 19, 2011 (gmt 0)

10+ Year Member



Hi,

In the htaccess of my subfoldered WP blog, I have this in the htaccess.


ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/png A2592000
ExpiresByType text/js M604800
ExpiresByType application/javascript M604800
ExpiresByType application/x-javascript M604800
ExpiresByType text/css M604800

and I don't get a 500 error when I load the site, which hints at my hosts supporting mod expire, it does bomb out with a 500 error if I try to do anything mod header related like ET tags...

However Page Speed from Google still swears blind I am not taking advantage of browser caching..I do have a page speed of 87/100 which is nice! but it would be good to squeeze out some more...

Any ideas why Page Speed thinks I am not browser caching?

Thanks..
M.

sendandreturn

8:59 am on Aug 19, 2011 (gmt 0)

10+ Year Member



This is from the subfolder URL server header check:

HTTP/1.1 301 Moved Permanently
Date: Fri, 19 Aug 2011 08:57:44 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Vary: Cookie
X-Powered-By: PHP/5.2.17
Set-Cookie: PHPSESSID=q0u53pd6b4k5ec2gc8a4012gr4; path=/
Location:
Connection: close
Content-Type: text/html; charset=UTF-8