Handling 304 and header refresh
Daniel Rodriguez
coolbomb at gmail.com
Tue Dec 1 13:39:23 CET 2009
Hi,
I removed the Cookies, but as i imagined that isn't the problem. The
original request got well cached, but after sending the 304 with the
max-age modified, all the request end up been served by the backend
and not from the cache.
Lets walk this step by step.
First request:
GET /test/prueba.php HTTP/1.1
Host: www.foo.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3)
Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
X-Forwarded-For: 192.168.90.41
Accept-Encoding: gzip
X-Varnish: 484826736
X-Forwarded-For: 192.168.90.41
The server reply:
HTTP/1.1 200 OK
Date: Tue, 01 Dec 2009 10:48:32 GMT
Server: Apache
Cache-control: max-age=60
Vary: Accept-Encoding
Last-Modified: Tue, 17 Nov 2009 19:10:17 GMT
Connection: close
Content-Type: text/html; charset=iso-8859-15
Content-Encoding: gzip
Content-Length: 87
----
This end up in the cache, and all request after this, got server by
the varnish cache. (This can be verified in the varnishlog attached)
In this next request, the apache server returns 304 but with a new max-age (401)
----
Second request:
GET /test/prueba.php HTTP/1.1
Host: www.foo.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3)
Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
X-Forwarded-For: 192.168.90.41
Accept-Encoding: gzip
X-Varnish: 484826741
X-Forwarded-For: 192.168.90.41
The server reply:
HTTP/1.1 304 Not Modified
Date: Tue, 01 Dec 2009 10:50:33 GMT
Server: Apache
Connection: close
Cache-control: max-age=401
---
This one does not go into the cache and all further attemps to the
same object end up going to my backend
---
Third request:
GET /test/prueba.php HTTP/1.1
Host: www.foo.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3)
Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
If-Modified-Since: Tue, 17 Nov 2009 19:10:17 GMT
X-Forwarded-For: 192.168.90.41
Accept-Encoding: gzip
X-Varnish: 484826742
X-Forwarded-For: 192.168.90.41
The server reply:
HTTP/1.1 304 Not Modified
Date: Tue, 01 Dec 2009 10:50:49 GMT
Server: Apache
Connection: close
Cache-control: max-age=401
---
I'm attaching a new varnishlog output for demonstration. I have
deleted some request because the log was very large but i think that
everything needed to verify this is in there.
Best regards,
12 SessionOpen c 192.168.90.41 42154 :80
12 ReqStart c 192.168.90.41 42154 484826736
12 RxRequest c GET
12 RxURL c /test/prueba.php
12 RxProtocol c HTTP/1.1
12 RxHeader c Host: www.foo.com
12 RxHeader c User-Agent: Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
12 RxHeader c Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
12 RxHeader c Accept-Language: en-us,en;q=0.5
12 RxHeader c Accept-Encoding: gzip,deflate
12 RxHeader c Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
12 RxHeader c Keep-Alive: 300
12 RxHeader c Connection: keep-alive
12 RxHeader c If-Modified-Since: Tue, 17 Nov 2009 19:10:17 GMT
12 RxHeader c Cache-Control: max-age=0
12 VCL_call c recv
12 VCL_return c lookup
12 VCL_call c hash
12 VCL_return c hash
12 VCL_call c miss
12 VCL_return c fetch
13 BackendOpen b default 192.168.55.18 38237 192.168.9.158 80
12 Backend c 13 default default
13 TxRequest b GET
13 TxURL b /test/prueba.php
13 TxProtocol b HTTP/1.1
13 TxHeader b Host: www.foo.com
13 TxHeader b User-Agent: Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
13 TxHeader b Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
13 TxHeader b Accept-Language: en-us,en;q=0.5
13 TxHeader b Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
13 TxHeader b X-Forwarded-For: 192.168.90.41
13 TxHeader b Accept-Encoding: gzip
13 TxHeader b X-Varnish: 484826736
13 TxHeader b X-Forwarded-For: 192.168.90.41
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664512 1.0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664515 1.0
13 RxProtocol b HTTP/1.1
13 RxStatus b 200
13 RxResponse b OK
13 RxHeader b Date: Tue, 01 Dec 2009 10:48:32 GMT
13 RxHeader b Server: Apache
13 RxHeader b Cache-control: max-age=60
13 RxHeader b Vary: Accept-Encoding
13 RxHeader b Last-Modified: Tue, 17 Nov 2009 19:10:17 GMT
13 RxHeader b Connection: close
13 RxHeader b Content-Type: text/html; charset=iso-8859-15
13 RxHeader b Content-Encoding: gzip
13 RxHeader b Content-Length: 87
12 ObjProtocol c HTTP/1.1
12 ObjStatus c 200
12 ObjResponse c OK
12 ObjHeader c Date: Tue, 01 Dec 2009 10:48:32 GMT
12 ObjHeader c Server: Apache
12 ObjHeader c Cache-control: max-age=60
12 ObjHeader c Vary: Accept-Encoding
12 ObjHeader c Last-Modified: Tue, 17 Nov 2009 19:10:17 GMT
12 ObjHeader c Content-Type: text/html; charset=iso-8859-15
12 ObjHeader c Content-Encoding: gzip
13 BackendClose b default
12 TTL c 484826736 RFC 60 1259664516 0 0 60 0
12 VCL_call c fetch
12 VCL_return c deliver
12 Length c 0
12 VCL_call c deliver
12 VCL_return c deliver
12 TxProtocol c HTTP/1.1
12 TxStatus c 304
12 TxResponse c Not Modified
12 TxHeader c Date: Tue, 01 Dec 2009 10:48:31 GMT
12 TxHeader c Via: 1.1 varnish
12 TxHeader c X-Varnish: 484826736
12 TxHeader c Last-Modified: Tue, 17 Nov 2009 19:10:17 GMT
12 TxHeader c Cache-Control: max-age=60
12 TxHeader c Vary: Accept-Encoding
12 TxHeader c Connection: keep-alive
12 ReqEnd c 484826736 1259664511.749969006
1259664516.769968987 0.000000000 5.019999981 0.000000000
12 Debug c "herding"
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664518 1.0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664521 1.0
12 SessionClose c timeout
12 StatSess c 192.168.90.41 42154 5 0 0 0 0 0 0 0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664524 1.0
12 SessionOpen c 192.168.90.41 42155 :80
12 ReqStart c 192.168.90.41 42155 484826737
12 RxRequest c GET
12 RxURL c /test/prueba.php
12 RxProtocol c HTTP/1.1
12 RxHeader c Host: www.foo.com
12 RxHeader c User-Agent: Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
12 RxHeader c Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
12 RxHeader c Accept-Language: en-us,en;q=0.5
12 RxHeader c Accept-Encoding: gzip,deflate
12 RxHeader c Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
12 RxHeader c Keep-Alive: 300
12 RxHeader c Connection: keep-alive
12 RxHeader c If-Modified-Since: Tue, 17 Nov 2009 19:10:17 GMT
12 RxHeader c Cache-Control: max-age=0
12 VCL_call c recv
12 VCL_return c lookup
12 VCL_call c hash
12 VCL_return c hash
12 Hit c 484826736
12 VCL_call c hit
12 VCL_return c deliver
12 Length c 0
12 VCL_call c deliver
12 VCL_return c deliver
12 TxProtocol c HTTP/1.1
12 TxStatus c 304
12 TxResponse c Not Modified
12 TxHeader c Date: Tue, 01 Dec 2009 10:48:44 GMT
12 TxHeader c Via: 1.1 varnish
12 TxHeader c X-Varnish: 484826737
12 TxHeader c Last-Modified: Tue, 17 Nov 2009 19:10:17 GMT
12 TxHeader c Cache-Control: max-age=60
12 TxHeader c Vary: Accept-Encoding
12 TxHeader c Connection: keep-alive
12 ReqEnd c 484826737 1259664524.945969105
1259664524.945969105 0.004000187 0.000000000 0.000000000
12 Debug c "herding"
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664527 1.0
12 ReqStart c 192.168.90.41 42155 484826738
12 RxRequest c GET
12 RxURL c /test/prueba.php
12 RxProtocol c HTTP/1.1
12 RxHeader c Host: www.foo.com
12 RxHeader c User-Agent: Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
12 RxHeader c Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
12 RxHeader c Accept-Language: en-us,en;q=0.5
12 RxHeader c Accept-Encoding: gzip,deflate
12 RxHeader c Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
12 RxHeader c Keep-Alive: 300
12 RxHeader c Connection: keep-alive
12 RxHeader c If-Modified-Since: Tue, 17 Nov 2009 19:10:17 GMT
12 RxHeader c Cache-Control: max-age=0
12 VCL_call c recv
12 VCL_return c lookup
12 VCL_call c hash
12 VCL_return c hash
12 Hit c 484826736
12 VCL_call c hit
12 VCL_return c deliver
12 Length c 0
12 VCL_call c deliver
12 VCL_return c deliver
12 TxProtocol c HTTP/1.1
12 TxStatus c 304
12 TxResponse c Not Modified
12 TxHeader c Date: Tue, 01 Dec 2009 10:48:49 GMT
12 TxHeader c Via: 1.1 varnish
12 TxHeader c X-Varnish: 484826738
12 TxHeader c Last-Modified: Tue, 17 Nov 2009 19:10:17 GMT
12 TxHeader c Cache-Control: max-age=60
12 TxHeader c Vary: Accept-Encoding
12 TxHeader c Connection: keep-alive
12 ReqEnd c 484826738 1259664529.137969017
1259664529.137969017 4.191999912 0.000000000 0.000000000
12 Debug c "herding"
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664530 1.0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664533 1.0
12 SessionClose c timeout
12 StatSess c 192.168.90.41 42155 4 0 0 0 0 0 0 0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664536 1.0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664539 1.0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664542 1.0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664545 1.0
12 SessionOpen c 192.168.90.41 37495 :80
--------------------------------------------------------------
I keep requesting the objet a lot (I delete that part from the log,
there are only a few for demonstration purposes) all the request are
server directly from the cache)
At this time, apache will return 304 and send a new max-age=401
All request are now going to the backend. Not caching the object.
---------------------------------------------------------------
12 SessionOpen c 192.168.90.41 37499 :80
12 ReqStart c 192.168.90.41 37499 484826741
12 RxRequest c GET
12 RxURL c /test/prueba.php
12 RxProtocol c HTTP/1.1
12 RxHeader c Host: www.foo.com
12 RxHeader c User-Agent: Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
12 RxHeader c Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
12 RxHeader c Accept-Language: en-us,en;q=0.5
12 RxHeader c Accept-Encoding: gzip,deflate
12 RxHeader c Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
12 RxHeader c Keep-Alive: 300
12 RxHeader c Connection: keep-alive
12 RxHeader c If-Modified-Since: Tue, 17 Nov 2009 19:10:17 GMT
12 RxHeader c Cache-Control: max-age=0
12 VCL_call c recv
12 VCL_return c lookup
12 VCL_call c hash
12 VCL_return c hash
12 VCL_call c miss
12 VCL_return c fetch
13 BackendOpen b default 192.168.55.18 38239 192.168.9.158 80
12 Backend c 13 default default
13 TxRequest b GET
13 TxURL b /test/prueba.php
13 TxProtocol b HTTP/1.1
13 TxHeader b Host: www.foo.com
13 TxHeader b User-Agent: Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
13 TxHeader b Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
13 TxHeader b Accept-Language: en-us,en;q=0.5
13 TxHeader b Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
13 TxHeader b X-Forwarded-For: 192.168.90.41
13 TxHeader b Accept-Encoding: gzip
13 TxHeader b X-Varnish: 484826741
13 TxHeader b X-Forwarded-For: 192.168.90.41
13 RxProtocol b HTTP/1.1
13 RxStatus b 304
13 RxResponse b Not Modified
13 RxHeader b Date: Tue, 01 Dec 2009 10:50:33 GMT
13 RxHeader b Server: Apache
13 RxHeader b Connection: close
13 RxHeader b Cache-control: max-age=401
12 ObjProtocol c HTTP/1.1
12 ObjStatus c 304
12 ObjResponse c Not Modified
12 ObjHeader c Date: Tue, 01 Dec 2009 10:50:33 GMT
12 ObjHeader c Server: Apache
12 ObjHeader c Cache-control: max-age=401
13 BackendClose b default
12 TTL c 484826741 RFC 401 1259664631 0 0 401 0
12 VCL_call c fetch
12 VCL_return c pass
12 Length c 0
12 VCL_call c deliver
12 VCL_return c deliver
12 TxProtocol c HTTP/1.1
12 TxStatus c 304
12 TxResponse c Not Modified
12 TxHeader c Server: Apache
12 TxHeader c Cache-control: max-age=401
12 TxHeader c Content-Length: 0
12 TxHeader c Date: Tue, 01 Dec 2009 10:50:31 GMT
12 TxHeader c X-Varnish: 484826741
12 TxHeader c Age: 0
12 TxHeader c Via: 1.1 varnish
12 TxHeader c Connection: keep-alive
12 ReqEnd c 484826741 1259664631.945969105
1259664631.969969034 0.000000000 0.023999929 0.000000000
12 Debug c "herding"
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664632 1.0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664635 1.0
12 SessionClose c timeout
12 StatSess c 192.168.90.41 37499 0 0 0 0 0 0 0 0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664638 1.0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664641 1.0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664644 1.0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664647 1.0
12 SessionOpen c 192.168.90.41 37500 :80
12 ReqStart c 192.168.90.41 37500 484826742
12 RxRequest c GET
12 RxURL c /test/prueba.php
12 RxProtocol c HTTP/1.1
12 RxHeader c Host: www.foo.com
12 RxHeader c User-Agent: Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
12 RxHeader c Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
12 RxHeader c Accept-Language: en-us,en;q=0.5
12 RxHeader c Accept-Encoding: gzip,deflate
12 RxHeader c Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
12 RxHeader c Keep-Alive: 300
12 RxHeader c Connection: keep-alive
12 RxHeader c If-Modified-Since: Tue, 17 Nov 2009 19:10:17 GMT
12 RxHeader c Cache-Control: max-age=0
12 VCL_call c recv
12 VCL_return c lookup
12 VCL_call c hash
12 VCL_return c hash
12 HitPass c 484826741
12 VCL_call c pass
12 VCL_return c pass
13 BackendOpen b default 192.168.55.18 38240 192.168.9.158 80
12 Backend c 13 default default
13 TxRequest b GET
13 TxURL b /test/prueba.php
13 TxProtocol b HTTP/1.1
13 TxHeader b Host: www.foo.com
13 TxHeader b User-Agent: Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
13 TxHeader b Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
13 TxHeader b Accept-Language: en-us,en;q=0.5
13 TxHeader b Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
13 TxHeader b If-Modified-Since: Tue, 17 Nov 2009 19:10:17 GMT
13 TxHeader b X-Forwarded-For: 192.168.90.41
13 TxHeader b Accept-Encoding: gzip
13 TxHeader b X-Varnish: 484826742
13 TxHeader b X-Forwarded-For: 192.168.90.41
13 RxProtocol b HTTP/1.1
13 RxStatus b 304
13 RxResponse b Not Modified
13 RxHeader b Date: Tue, 01 Dec 2009 10:50:49 GMT
13 RxHeader b Server: Apache
13 RxHeader b Connection: close
13 RxHeader b Cache-control: max-age=401
12 ObjProtocol c HTTP/1.1
12 ObjStatus c 304
12 ObjResponse c Not Modified
12 ObjHeader c Date: Tue, 01 Dec 2009 10:50:49 GMT
12 ObjHeader c Server: Apache
12 ObjHeader c Cache-control: max-age=401
13 BackendClose b default
12 TTL c 484826742 RFC 401 1259664647 0 0 401 0
12 VCL_call c fetch
12 VCL_return c pass
12 Length c 0
12 VCL_call c deliver
12 VCL_return c deliver
12 TxProtocol c HTTP/1.1
12 TxStatus c 304
12 TxResponse c Not Modified
12 TxHeader c Server: Apache
12 TxHeader c Cache-control: max-age=401
12 TxHeader c Content-Length: 0
12 TxHeader c Date: Tue, 01 Dec 2009 10:50:47 GMT
12 TxHeader c X-Varnish: 484826742
12 TxHeader c Age: 0
12 TxHeader c Via: 1.1 varnish
12 TxHeader c Connection: keep-alive
12 ReqEnd c 484826742 1259664647.989969015
1259664647.993968964 0.000000000 0.003999949 0.000000000
12 Debug c "herding"
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664650 1.0
12 ReqStart c 192.168.90.41 37500 484826743
12 RxRequest c GET
12 RxURL c /test/prueba.php
12 RxProtocol c HTTP/1.1
12 RxHeader c Host: www.foo.com
12 RxHeader c User-Agent: Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
12 RxHeader c Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
12 RxHeader c Accept-Language: en-us,en;q=0.5
12 RxHeader c Accept-Encoding: gzip,deflate
12 RxHeader c Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
12 RxHeader c Keep-Alive: 300
12 RxHeader c Connection: keep-alive
12 RxHeader c If-Modified-Since: Tue, 17 Nov 2009 19:10:17 GMT
12 RxHeader c Cache-Control: max-age=0
12 VCL_call c recv
12 VCL_return c lookup
12 VCL_call c hash
12 VCL_return c hash
12 HitPass c 484826741
12 VCL_call c pass
12 VCL_return c pass
13 BackendOpen b default 192.168.55.18 38241 192.168.9.158 80
12 Backend c 13 default default
13 TxRequest b GET
13 TxURL b /test/prueba.php
13 TxProtocol b HTTP/1.1
13 TxHeader b Host: www.foo.com
13 TxHeader b User-Agent: Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.0.3) Gecko/2008092816 Iceweasel/3.0.3 (Debian-3.0.3-3)
13 TxHeader b Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
13 TxHeader b Accept-Language: en-us,en;q=0.5
13 TxHeader b Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
13 TxHeader b If-Modified-Since: Tue, 17 Nov 2009 19:10:17 GMT
13 TxHeader b X-Forwarded-For: 192.168.90.41
13 TxHeader b Accept-Encoding: gzip
13 TxHeader b X-Varnish: 484826743
13 TxHeader b X-Forwarded-For: 192.168.90.41
13 RxProtocol b HTTP/1.1
13 RxStatus b 304
13 RxResponse b Not Modified
13 RxHeader b Date: Tue, 01 Dec 2009 10:50:53 GMT
13 RxHeader b Server: Apache
13 RxHeader b Connection: close
13 RxHeader b Cache-control: max-age=401
12 ObjProtocol c HTTP/1.1
12 ObjStatus c 304
12 ObjResponse c Not Modified
12 ObjHeader c Date: Tue, 01 Dec 2009 10:50:53 GMT
12 ObjHeader c Server: Apache
12 ObjHeader c Cache-control: max-age=401
13 BackendClose b default
12 TTL c 484826743 RFC 401 1259664652 0 0 401 0
12 VCL_call c fetch
12 VCL_return c pass
12 Length c 0
12 VCL_call c deliver
12 VCL_return c deliver
12 TxProtocol c HTTP/1.1
12 TxStatus c 304
12 TxResponse c Not Modified
12 TxHeader c Server: Apache
12 TxHeader c Cache-control: max-age=401
12 TxHeader c Content-Length: 0
12 TxHeader c Date: Tue, 01 Dec 2009 10:50:52 GMT
12 TxHeader c X-Varnish: 484826743
12 TxHeader c Age: 0
12 TxHeader c Via: 1.1 varnish
12 TxHeader c Connection: keep-alive
12 ReqEnd c 484826743 1259664652.677968979
1259664652.685969114 4.684000015 0.008000135 0.000000000
12 Debug c "herding"
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664653 1.0
0 CLI - Rd ping
0 CLI - Wr 0 200 PONG 1259664656 1.0
On Tue, Dec 1, 2009 at 8:23 AM, Tollef Fog Heen
<tfheen at redpill-linpro.com> wrote:
> ]] Daniel Rodriguez
>
> | 13 TxHeader b Cookie: foo.comGlobal=0; cUser=nouser
>
> You need to strip the cookie before sending the request to the backend,
> else you will end up pass-ing the request.
>
> --
> Tollef Fog Heen
> Redpill Linpro -- Changing the game!
> t: +47 21 54 41 73
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc
>
More information about the varnish-misc
mailing list