<div>Hi,</div><div><br></div><div>I have a site which has a FB login in it, login happens, but while logout, varnish sends a 304 not modified, hence the page is not refreshed and logout is not shown on the page. The cookies do get deleted as it should happen. If i check from backend, everything seems ok. How can I rectify this?</div>
<div><br></div>in vcl_recv....
<div><br></div><div><div> if (req.http.host ~ "^<a href="http://host.domain.com">host.domain.com</a>$" {</div><div> return(pass); }</div></div><div><br></div><div><br></div><div>varnishlog...</div><div><br></div>
<div><div> 296 RxRequest c GET</div><div> 296 RxURL c /</div><div> 296 RxProtocol c HTTP/1.1</div><div> 296 RxHeader c Host: <a href="http://host.domain.com">host.domain.com</a></div><div> 296 RxHeader c User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0</div>
<div> 296 RxHeader c Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8</div><div> 296 RxHeader c Accept-Language: en-us,en;q=0.5</div><div> 296 RxHeader c Accept-Encoding: gzip, deflate</div>
<div> 296 RxHeader c Connection: keep-alive</div><div> 296 RxHeader c Referer: <a href="http://host.domain.com/">http://host.domain.com/</a></div><div> 296 RxHeader c Cookie: __utma=198839274.365445528.1337689518.1337689518.1337689518.1; __utmb=198839274.5.10.1337689518; __utmc=198839274; __utmz=198839274.1337689518.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __qca=P0-1956808353-1337689518459; fbsr_2770104656637</div>
<div> 296 RxHeader c If-Modified-Since: Tue, 22 May 2012 12:24:34 GMT</div><div> 296 VCL_call c recv pass</div><div> 296 VCL_call c hash hash</div><div> 296 VCL_call c pass pass</div><div> 296 Backend c 267 video video[0]</div>
<div> 296 TTL c 313634256 RFC 60 1337689482 0 0 0 0</div><div> 296 VCL_call c fetch</div><div> 296 TTL c 313634256 VCL 30 1337689483</div><div> 296 VCL_return c deliver</div><div> 296 ObjProtocol c HTTP/1.1</div>
<div> 296 ObjStatus c 200</div><div> 296 ObjResponse c OK</div><div> 296 ObjHeader c Date: Tue, 22 May 2012 12:24:42 GMT</div><div> 296 ObjHeader c Last-Modified: Tue, 22 May 2012 12:23:12 GMT</div><div> 296 ObjHeader c Vary: Cookie,Accept-Encoding</div>
<div> 296 ObjHeader c X-Pingback: <a href="http://host.domain.com/xmlrpc.php">http://host.domain.com/xmlrpc.php</a></div><div> 296 ObjHeader c Content-Encoding: gzip</div><div> 296 ObjHeader c Content-Length: 18062</div>
<div> 296 ObjHeader c Content-Type: text/html; charset=UTF-8</div><div> 296 ObjHeader c Server: Web/10.1.10</div><div> 296 VCL_call c deliver deliver</div><div> 296 TxProtocol c HTTP/1.1</div><div> 296 TxStatus c 304</div>
<div> 296 TxResponse c Not Modified</div><div> 296 TxHeader c Date: Tue, 22 May 2012 12:24:42 GMT</div><div> 296 TxHeader c Last-Modified: Tue, 22 May 2012 12:23:12 GMT</div><div> 296 TxHeader c Connection: keep-alive</div>
<div> 296 TxHeader c X-Cache: MISS</div><div> 296 TxHeader c Vary: Accept-Encoding</div><div> 296 TxHeader c X-Country-Code: Unknown</div><div> 296 Length c 0</div><div> 296 ReqEnd c 313634256 1337689482.766963959 1337689482.779349089 0.051923990 0.012341022 0.000044107</div>
</div><div><br></div>