Varnish sending 304 not modified - unwanted
Shibashish
shib4u at gmail.com
Tue May 22 14:31:59 CEST 2012
Hi,
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?
in vcl_recv....
if (req.http.host ~ "^host.domain.com$" {
return(pass); }
varnishlog...
296 RxRequest c GET
296 RxURL c /
296 RxProtocol c HTTP/1.1
296 RxHeader c Host: host.domain.com
296 RxHeader c User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
rv:12.0) Gecko/20100101 Firefox/12.0
296 RxHeader c Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
296 RxHeader c Accept-Language: en-us,en;q=0.5
296 RxHeader c Accept-Encoding: gzip, deflate
296 RxHeader c Connection: keep-alive
296 RxHeader c Referer: http://host.domain.com/
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
296 RxHeader c If-Modified-Since: Tue, 22 May 2012 12:24:34 GMT
296 VCL_call c recv pass
296 VCL_call c hash hash
296 VCL_call c pass pass
296 Backend c 267 video video[0]
296 TTL c 313634256 RFC 60 1337689482 0 0 0 0
296 VCL_call c fetch
296 TTL c 313634256 VCL 30 1337689483
296 VCL_return c deliver
296 ObjProtocol c HTTP/1.1
296 ObjStatus c 200
296 ObjResponse c OK
296 ObjHeader c Date: Tue, 22 May 2012 12:24:42 GMT
296 ObjHeader c Last-Modified: Tue, 22 May 2012 12:23:12 GMT
296 ObjHeader c Vary: Cookie,Accept-Encoding
296 ObjHeader c X-Pingback: http://host.domain.com/xmlrpc.php
296 ObjHeader c Content-Encoding: gzip
296 ObjHeader c Content-Length: 18062
296 ObjHeader c Content-Type: text/html; charset=UTF-8
296 ObjHeader c Server: Web/10.1.10
296 VCL_call c deliver deliver
296 TxProtocol c HTTP/1.1
296 TxStatus c 304
296 TxResponse c Not Modified
296 TxHeader c Date: Tue, 22 May 2012 12:24:42 GMT
296 TxHeader c Last-Modified: Tue, 22 May 2012 12:23:12 GMT
296 TxHeader c Connection: keep-alive
296 TxHeader c X-Cache: MISS
296 TxHeader c Vary: Accept-Encoding
296 TxHeader c X-Country-Code: Unknown
296 Length c 0
296 ReqEnd c 313634256 1337689482.766963959 1337689482.779349089
0.051923990 0.012341022 0.000044107
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120522/62d99420/attachment.html>
More information about the varnish-misc
mailing list