Meaning of obj.prefetch

2008-07-14 Thread andan andan
Hi. The obj.prefecth variable, What is it supposed to do? The default VCL set this variable to -30s, and varnishlog shows (30 seconds before that object expires): 0 ExpPick - 964711497 prefetch 0 VCL_call - prefetch 0 VCL_return - fetch 0 Debug- Attempt

Re: purge.hash in trunk

2008-07-14 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Skye Poier Nott writes : Updated to r2945 today, is purge.hash changed or broken? This works: purge.url . purge.hash . But none of these have any effect: purge.hash .#.# This would only purge single character urls on single character host names. Try:

Re: purge.hash in trunk

2008-07-14 Thread Skye Poier Nott
Oh I see, right, it matches against the whole concatenated hash string. Why is it that this purges all files from w0011.example.com purge.hash w0011.*#.* But this does nothing? purge.hash w0011.*#.*# Flipping the #'s around works: purge.hash #w0011.*#.* This also has

Re: purge.hash in trunk

2008-07-14 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Skye Poier Nott writes : Oh I see, right, it matches against the whole concatenated hash string. Yes. Why is it that this purges all files from w0011.example.com purge.hash w0011.*#.* Because the last .* matches nothing, and you havn't tied it to the front

Re: purge.hash in trunk

2008-07-14 Thread Skye Poier Nott
On 14-Jul-08, at 2:58 PM, Poul-Henning Kamp wrote: Because the default vcl_hash says: sub vcl_hash { set req.hash += req.url; if (req.http.host) { set req.hash += req.http.host; } else { set req.hash += server.ip; } hash; }