Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14346

Regex in delete_cache

$
0
0
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

Viewing all articles
Browse latest Browse all 14346

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>