Browser refresh and varnish

Stig Sandbeck Mathisen ssm at linpro.no
Thu Aug 2 12:27:11 CEST 2007


"KKK RRR" <sharp_sniper at wp.pl> writes:

> why every time i can't refresh my browser with files from varnish cache ?
>
> for exapmle:
> if i go to www.xxxxx.com/abcd.jpg     then is ok - varnish shows HIT
> but if i refresh it don't work

You don't run varnish on that domain, and the document does not exist.

ssm ~$ GET -Used http://www.xxxxx.com/abcd.jpg
GET http://www.xxxxx.com/abcd.jpg
User-Agent: lwp-request/2.07

404 Not Found
Connection: close
Date: Thu, 02 Aug 2007 10:23:26 GMT
Server: Apache/2.0.52 (Red Hat)
Content-Length: 288
Content-Type: text/html; charset=iso-8859-1
Client-Date: Thu, 02 Aug 2007 10:23:26 GMT
Client-Peer: 209.85.51.151:80
Client-Response-Num: 1
Title: 404 Not Found


Alternatively, you specified a domain of someone else's web site.
Please don't.

-- 
Stig Sandbeck Mathisen, Linpro



More information about the varnish-misc mailing list