Question : What is the default for ExpiresDefault

We have a site which is being ditributed by a CDN, and are making a best attempt at setting up the Expires header so that the CDN caches appropriately.

The config has ExpiresActive On and then a bunch of ExpiresByType settings, but *no* ExpiresDefault.

We have a number of HTTP/301 permanent directs in the site which are not getting cached by the CDN because the Expires header we are sending is in the past. Since this is a redirect, I do not believe that any of our ExpiresByType  settings are relevant and we are coming up against an Apache default.

What is the default, when ExpiresDefault is not set? I'm guessing that the date is relative to some modification date (because it bears no relation to the access date), but what?


1:
2:
3:
4:
5:
6:
7:
8:
9:
$ curl -I http://this.XXXXX.com/global-styles.css
HTTP/1.1 301 Moved Permanently
Cache-Control: max-age=-5843492
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1
Date: Wed, 12 May 2010 09:03:07 GMT
Expires: Fri, 05 Mar 2010 17:51:35 GMT
Location: http://that.XXXXX.com/global-styles.css
Server: Apache/2.2.6 (Unix) PHP/5.2.12 mod_fastcgi/2.4.6

Answer : What is the default for ExpiresDefault

I'd say it's related to the
Cache-Control: max-age=-5843492 line

just a guest: can the expire value be the date of your last restart ?
Random Solutions  
 
programming4us programming4us