You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Belkacem <re...@gmail.com> on 2011/03/16 15:25:43 UTC

remove from cache

hi everyone,
it's certainly a silly question, but, can we delete object in cache using a regular expression, ex:
delete object from www.example.com/help/*.html
thnx :)

Re: remove from cache

Posted by Leif Hedstrom <zw...@apache.org>.
On 03/16/2011 08:25 AM, Belkacem wrote:
> hi everyone,
> it's certainly a silly question, but, can we delete object in cache using a regular expression, ex:
> delete object from www.example.com/help/*.html
> thnx :)

Yeah, you can, using the Cache Inspector. It will be fairly slow though, 
because it basically has to traverse the entire cache, and compare the 
regex against every URL.

-- leif