Re: Expires: header not working?

From: Ole Moller <olm@dont-contact.us>
Date: Thu, 03 Dec 1998 12:27:32 +0100

Written by you 18:11 02-12-98 -0700,Duane Wessels
>>Expires: Sun, 03-May-1998 16:00:00 GMT
>>Can anyone help me fix this?

How did you make the expire-header? Could the problem be that it doesn't
follow RFC2068 Date/time formats?

============================================================================
          Sun, 06 Nov 1994 08:49:37 GMT ; RFC 822, updated by RFC 1123
          Sunday, 06-Nov-94 08:49:37 GMT ; RFC 850, obsoleted by RFC 1036
          Sun Nov 6 08:49:37 1994 ; ANSI C's asctime() format
============================================================================

Haven't looked into the squid-code. But you should make Apache make the
expire header itself by using mod_expire.

>If you have control over MailMan, then have it insert
> cache-control: no-cache
>as one of the headers.

Personally I think this is a bad idea. I see a growing number of webmasters
that insists on that the entire server should be non-cacheable. Usually
because they are having trouble configuring the server or understanding the
cache concept. If you insist on using the cache-control header I suggest
you limit it to a single directory and put the dynamic files there.

Regards

-- 
Ole Møller olm@cybercity.dk, Sysadm CyberCity Internet
- Why is "256 Ways To Make Love" the most quoted book on the Internet?
- It is the Fucking Manual!
Received on Thu Dec 03 1998 - 05:11:56 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:43:32 MST