Re: [SMARTY] Problem clearing cache groups

From: Date: Wed, 14 Sep 2005 13:54:43 +0000
Subject: Re: [SMARTY] Problem clearing cache groups
References: 1 2 3 4 5 6 7  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-13037@lists.php.net to get a copy of this message
Ivo Jansch wrote:
I don't understand. Clearly, a | is used here, so we are talking about grouping. In fact, this example does the same as my code, namely, clear foo.tpl, using all cache_id's that start with the groups sports|basketball. In my original post, I demonstrated how this does clear foo.tpl/sports/basketball but not foo.tpl/sports/basketball/somedeepergroup
You can't do that... ie, you can't clear foo.tpl under multiple groups. Any time you specify a template file name, you are clearing one cache file. If you omit the template file name, then you are clearing caches for an entire group (and subgroups.)

« previous php.smarty.general (#13037) next »