Varnish ALWAYS getting index from backend

Tomasz Leszczyński plzeton at gmail.com
Tue Dec 9 22:52:10 CET 2008


Headers from backend (connect directly to backend):

HTTP/1.x 200 OK
Date: Tue, 09 Dec 2008 21:42:54 GMT
Server: Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-18
X-Powered-By: PHP/4.3.10-18
Set-Cookie: CMS_Session=95775f09228158a4a0e16a617d8c2372; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, 
pre-check=0
Pragma: no-cache
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-2



I try remove cookies... not work. Removing Cache-Control, pragma etc. in 
vcl_fetch subroutine - not effect.


Line from varnishncsa -b:

192.168.3.34 - - [09/Dec/2008:21:49:00 +0000] "GET http://192.168.3.34/ 
HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; 
rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4"

(rows are broken)

Backend is SLOW. Very slow.





More information about the varnish-misc mailing list