Re: [squid-users] Squid with ESI + Tomcat

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 8 Jan 2004 14:50:06 +0100 (CET)

On Thu, 8 Jan 2004, Konrad wrote:

>
> Hi all
>
> I'm trying to use squid as a reverse proxy in front of Tomcat and to make things
> more complicated squid is compiled with ESI enabled :-)
> I've allready convinced squid-tomcat dou to process basic esi example but squid
> doesn't cache anything. I suspect that it's because of http headers that Tomcat
> by default adds to each response. I tried similar configuration with Apache and
> everything works promising ;-)
>
> Any sugestions what I'm doing wrong ?
>
> This is from Tomcat:
> HTTP/1.1 200 OK
> Pragma: No-cache
> Cache-Control: no-cache
> Expires: Thu, 01 Jan 1970 00:00:00 GMT

The above three headers is pretty strict to not cache..

> Surrogate-Control: max-age=600, content="ESI/1.0"

But on the other hand the surrogate-control max-age should override this I
think.. but probably it does not, or at least not all of them..

Regards
Henrik
Received on Thu Jan 08 2004 - 06:50:10 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:04 MST