Search squid archive

Weirdness caching objects with a vary header on a accelerator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks

I have some problems caching requests which have the vary header set on
a reverse proxy.

The response is properly written according to the store.log:
| 1177918188.354 SWAPOUT 00 00000000 5DD09DA912DD58C2EFBDAC8382385625  200 1177918188        -1 1178018188 x-squid-internal/vary - 1/201 GET http://jura13.jura.uni-tuebingen.de/
| 1177918188.354 SWAPOUT 00 00000001 6401BF3ABD2BDF388518448979017161  200 1177918188 1171557682 1177921788 text/html 18413/18413 GET http://jura13.jura.uni-tuebingen.de/

On further requests with the same uri the response is first killed from the
store and than rewritten:
| 1177918189.003 RELEASE 00 00000001 01A82DE4E73A158F3E836DC5C710A9B8   ?         ?         ?         ? ?/? ?/? ? ?
| 1177918189.463 RELEASE 00 00000000 9F14BFBC65EA03D2D789CCBCFD0B7094  200 1177918188        -1 1178018188 x-squid-internal/vary - 1/201 GET http://jura13.jura.uni-tuebingen.de/
| 1177918189.469 SWAPOUT 00 00000002 6401BF3ABD2BDF388518448979017161  200 1177918189 1171557682 1177921789 text/html 18413/18413 GET http://jura13.jura.uni-tuebingen.de/
| 1177918189.469 SWAPOUT 00 00000003 5DD09DA912DD58C2EFBDAC8382385625  200 1177918189        -1 1178018189 x-squid-internal/vary - 1/201 GET http://jura13.jura.uni-tuebingen.de/

| 1177918194.044 RELEASE 00 00000002 458BE7F675676226200FBB451407F3E9   ?         ?         ?         ? ?/? ?/? ? ?
| 1177918194.388 RELEASE 00 00000003 B3D8C2311F15D8A6085F64AB8D185C55  200 1177918189        -1 1178018189 x-squid-internal/vary - 1/201 GET http://jura13.jura.uni-tuebingen.de/
| 1177918194.390 SWAPOUT 00 00000004 6401BF3ABD2BDF388518448979017161  200 1177918194 1171557682 1177921794 text/html 18413/18413 GET http://jura13.jura.uni-tuebingen.de/
| 1177918194.390 SWAPOUT 00 00000005 5DD09DA912DD58C2EFBDAC8382385625  200 1177918194        -1 1178018194 x-squid-internal/vary - 1/201 GET http://jura13.jura.uni-tuebingen.de/

Reponse header of the page from the cache:
| HTTP/1.0 200 OK
| Server: Zope/(Zope 2.9.6-final, python 2.4.4, linux2) ZServer/1.1 Plone/2.5.2
| Date: Mon, 30 Apr 2007 07:37:11 GMT
| Content-Length: 19813
| Content-Language: de
| Expires: Fri, 02 May 1997 07:37:11 GMT
| Vary: Accept-Encoding, Accept-Language, User-Agent
| Connection: Keep-Alive
| Last-Modified: Thu, 15 Feb 2007 16:41:22 GMT
| X-Cache-Rules-Applied: yes
| X-Caching-Rule-Id: plone-content-types
| Cache-Control: max-age=0, s-maxage=3600, must-revalidate
| Content-Type: text/html;charset=utf-8
| X-Header-Set-Id: cache-in-proxy-1-hour

It happens with 2.6.STABLE5 (Debian/etch) and 2.6.STABLE12.

Can someone enlighten me which problem I catched or how I may debug this
further?

Bastian

-- 
History tends to exaggerate.
		-- Col. Green, "The Savage Curtain", stardate 5906.4

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux