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