The squid is adding the max-age header but not the expires. So it cache them.

I was looking at the methods that are available and I think I will just modify 
the code and add a hardcoded expires header ... and then compile the whole 
thing ...


 Alin Bugeag

 Tel                     +1 905 761 5301 ext 231
 Home               +1 416 623 9253

-----Original Message-----
From: Ken Peng [mailto:kenp...@rambler.ru] 
Sent: Tuesday, December 23, 2008 9:43 AM
To: Alin Bugeag
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] expires header


> Hi,
>
>
> I have two imageservers behind a squid.
>
> My issue is that my imageservers are not sending any Expires headers 
but
> I would like to attaché one from the squid.
>
> So by the time the image reaches the browser I have an Expires header 
in
> it.
>

if there is neither Expires nor max-age headers, Squid won't cache them, 
is it?
you may use apache's mod_expire to add that value, if you can control 
the realservers.

Reply via email to