[Fwd: Re: [squid-users] Squid with ESI + Tomcat]
Dnia 2004-01-08 14:50, Użytkownik Henrik Nordstrom napisał:
> On Thu, 8 Jan 2004, Konrad wrote:
>>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
>>Expires: Thu, 01 Jan 1970 00:00:00 GMT[/color]
> The above three headers is pretty strict to not cache..[/color]
I tried to change values of this headers
Pragam: <something stupid> ;-)
Expires: "light years in future"
but it doesn't help, I know that the best solution would be to remove these
headers .. but I don't how to do it in Tomcat ;-)
So are thery any "neutral" values for this headers ?
>>Surrogate-Control: max-age=600, content="ESI/1.0"[/color]
> 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..