Welcome Guest, Not a member yet? Register   Sign In
Regex in delete_cache
#1

Is there any way of including a regex in delete_cache? I'm guessing not because of the way the filenames are hashed but thought I'd ask anyway.

So I'd want to do something like:

PHP Code:
$this->output->delete_cache('/foo/bar/:num'); 

The reason I ask is that I have a 'single item' page which has it's cache deleted when that item is edited. I also want to delete the archive pages which are of the form '/item/index/recent/30/'.

Thanks
Reply




Theme © iAndrew 2016 - Forum software by © MyBB