Re: [squid-users] Cache-control: max-age not work...

From: Duane Wessels <wessels@dont-contact.us>
Date: Thu, 6 Sep 2001 22:49:26 -0600 (MDT)

On Fri, 7 Sep 2001, YAMAGUCHI Junji wrote:

> I wonder if someone could help me regarding how to ignore cache date by html
> header.
>
> - HTML file -
> The following one is work. (I don't want to use.)
> <meta http-equiv="Expires" content="0">
>
> However, the following one does not work... Why?
> <meta http-equiv="Cache-Control" content="max-age=0">
> Once hit the cache, then Squid will send the cache date to browser always,
> instead of retriving a new date from the Web server.
>
> - System info -
> Squid
> squid-2.3.STABLE4-10
>
> Apache
> apache-1.3.19-5
>
> Browser
> IE5.0

Squid does not look at HTML content for headers.

It is up to your server (Apache) to insert the reply header.

I suggest using Apache's "mod_expires" or "mod_headers" features.
Received on Thu Sep 06 2001 - 22:49:27 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:04 MST