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

From: Konrad <conradh@dont-contact.us>
Date: Mon, 12 Jan 2004 17:50:09 +0100

TEST 1 ------------------------------------------------------
 From Apache:
HTTP/1.1 200 OK
Date: Mon, 12 Jan 2004 08:58:57 GMT
Server: Apache/2.0.48 (Unix)
Last-Modified: Wed, 07 Jan 2004 19:35:55 GMT
Accept-Ranges: bytes
Content-Length: 744
Surrogate-Control: max-age=600,content="ESI/1.0"
Cache-Control: no-cache
Pragma: no-cache
Connection: close
Content-Type: text/html; charset=ISO-8859-1

 From Squid:
HTTP/1.0 200 OK
Date: Mon, 12 Jan 2004 09:01:47 GMT
Server: Apache/2.0.48 (Unix)
Last-Modified: Wed, 07 Jan 2004 19:35:55 GMT
Surrogate-Control: max-age=600,content="ESI/1.0"
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/html; charset=ISO-8859-1
X-Cache: MISS from exo
Via: 1.0 exo (squid/3.0-PRE3-20040107)
Connection: close
END OF TEST 1 -----------------------------------------------

TEST 2 ------------------------------------------------------
 From Apache:
HTTP/1.1 200 OK
Date: Mon, 12 Jan 2004 08:58:57 GMT
Server: Apache/2.0.48 (Unix)
Last-Modified: Wed, 07 Jan 2004 19:35:55 GMT
Accept-Ranges: bytes
Content-Length: 744
Surrogate-Control: max-age=600,content="ESI/1.0"
Cache-Control: no-cache
Connection: close
Content-Type: text/html; charset=ISO-8859-1

 From Squid
HTTP/1.0 200 OK
Date: Mon, 12 Jan 2004 09:04:08 GMT
Server: Apache/2.0.48 (Unix)
Last-Modified: Wed, 07 Jan 2004 19:35:55 GMT
Surrogate-Control: max-age=600,content="ESI/1.0"
Cache-Control: no-cache
Content-Type: text/html; charset=ISO-8859-1
X-Cache: MISS from exo
Via: 1.0 exo (squid/3.0-PRE3-20040107)
Connection: close
END OF TEST 2 -----------------------------------------------

TEST 3 ------------------------------------------------------
 From Apache:
HTTP/1.1 200 OK
Date: Mon, 12 Jan 2004 08:58:57 GMT
Server: Apache/2.0.48 (Unix)
Last-Modified: Wed, 07 Jan 2004 19:35:55 GMT
Accept-Ranges: bytes
Content-Length: 744
Surrogate-Control: max-age=600,content="ESI/1.0"
Connection: close
Content-Type: text/html; charset=ISO-8859-1

 From Squid
HTTP/1.0 200 OK
Date: Mon, 12 Jan 2004 09:08:57 GMT
Server: Apache/2.0.48 (Unix)
Last-Modified: Wed, 07 Jan 2004 19:35:55 GMT
Surrogate-Control: max-age=600,content="ESI/1.0"
Content-Type: text/html; charset=ISO-8859-1
Age: 50
X-Cache: HIT from exo
Via: 1.0 exo (squid/3.0-PRE3-20040107)
Connection: close
END OF TEST 3 -----------------------------------------------

Dnia 2004-01-09 00:04, Użytkownik Robert Collins napisał:

> On Fri, 2004-01-09 at 00:50, Henrik Nordstrom wrote:
>
>
>>>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..
>
>
> It should yes.
>
> Konrad, I suggest testing with a static page on apache. Give it one of
> those three headers, if that caches, add another, and then the last one.
>
> Find which one is break the surrogate control, and I'll get that fixed.
>
> Rob

-- 
Pozdrawiam
Konrad :-)
Received on Mon Jan 12 2004 - 09:47:57 MST

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