<span style='font-family:Verdana'><span style='font-size:12px'>Hello,<br />
<br />
I have a file named varnish-purge with this content that it's executed daily by cron, but the objects remain in the cache, even when I run it manually.<br />
--------------------------------------------------------------------------------------------<br />
<div>
#!/bin/sh</div>
<div>
</div>
<div>
/usr/bin/varnishadm -S /etc/varnish/secret -T 0.0.0.0:6082 "url.purge .*"<br />
--------------------------------------------------------------------------------------------<br />
<br />
The cron file is:<br />
<div>
-----------------------------------<br />
#!/bin/sh</div>
<div>
/usr/local/bin/varnish-purge</div>
-----------------------------------<br />
<br />
I alread used:<br />
<br />
/usr/bin/varnishadm -S /etc/varnish/secret -T 0.0.0.0:6082 url.purge '.*'<br />
<br />
and <br />
<br />
/usr/bin/varnishadm -S /etc/varnish/secret -T 0.0.0.0:6082 url.purge .<br />
<br />
without succes. The only way to purge the cache is restarting varnish.<br />
I'm using vanish 2.1.5 from <a href="http://repo.varnish-cache.org/debian/GPG-key.txt" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; font-weight: inherit; font-style: inherit; font-size: 12px; font-family: inherit; vertical-align: baseline; color: rgb(191, 48, 48); text-decoration: underline; " title="http://repo.varnish-cache.org/debian/GPG-key.txt">http://repo.varnish-cache.org</a><br />
<br />
Any guidance will be apreciated.<br />
<br />
Thanks<br />
<br />
Nuno<br />
<br />
</div>
</span></span>