<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The Issue: cachefu fails to purge cache on object changes.<div>This means user sees stale, incorrect content.</div><div>Product Versions: Plone-2.5.3, plone2.5.3, CacheFu-1.0.2, varnish-2.0.6</div><div><br></div><div>To reproduce:</div><div>* In browser1: login and go to any page</div><div>* In browser 2: view same page.</div><div>* In browser 1: edit page (add some dots to title). save</div><div>* In browser 2: refresh page</div><div>THE BUG: browser 2 shows old version of page</div><div><br></div><div>Another way to reproduce this is to use portal_squid tool to purge article. Same problem occurs.</div><div><br></div><div>./bin/varnishlog shows the error:</div><div>"""</div><div><div> 16 RxURL c <a href="http://american.aei.org/archive/2010/february/the-thirteen-races-to-watch">http://dude.com.moneyXXX/archive/2010/february/the-thirteen-races-to-watch</a></div><div> 16 RxProtocol c HTTP/1.0</div><div> 16 VCL_call c recv</div><div> 16 VCL_acl c MATCH purge localhost</div><div> 16 VCL_return c lookup</div><div> 16 VCL_call c hash</div><div> 16 VCL_return c hash</div><div> 16 VCL_call c miss</div><div> 0 Debug - "VCL_error(404, Not in cache)"</div><div>"""</div></div><div><br></div><div>The odd thing is that normal requests from the browser produce a RxURL like:</div><div><div>>> 13 RxURL c /archive/2010/february/the-thirteen-races-to-watch</div><div><br></div><div>I find this odd, because the requests from the browser to varnish don't include the http host. I wonder if this version of cachefu doesn't work with varnish.</div><div><br></div><div>A couple notes:</div><div><br></div><div>* I tried messing with the varnish.vcl to normalize the http.host</div><div><div>/* if (req.http.host ~ "(www.)?xxx.org") { */</div><div>/* set req.http.host = "xxx.org"; */</div><div>/* } else { */</div><div>/* error 404 req.http.host; /\* "Unknown virtual host." *\/ */</div><div>/* } */</div><div>but, it failed to produce desired results</div><div><br></div><div>* i started messing with it because of this post:</div><div><a href="http://davidjb.com/blog/2009/01/plone-varnish-configuration-cache-hits-purge-fails">http://davidjb.com/blog/2009/01/plone-varnish-configuration-cache-hits-purge-fails</a></div><div>and this:</div><div><a href="http://varnish-cache.org/wiki/VCLExampleNormalizingReqUrl">http://varnish-cache.org/wiki/VCLExampleNormalizingReq</a></div><div><br></div><div>Thanks for any help or guidance.</div><div><br></div><div>-Rob</div></div></div></body></html>