Re: [SMARTY-DEV] Cache Handling
| From: | Andreas Kossmeier | Date: | Mon, 17 Jun 2002 15:17:44 +0000 |
| Subject: | Re: [SMARTY-DEV] Cache Handling | ||
| References: | 1 2 3 4 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-152@lists.php.net to get a copy of this message | ||
Monte Ohrt wrote:
I swapped around cache_id and compile_id order. [...] However, this will not clear them both: clear_cache('index.tpl','cache_id'); Any time you supply a template name, it looks for an exact match on both cache_id and compile_id. You must use 'null' for the template name if you want to clear groups of files.IMO that behaviour should be ok. if you want to clear several different compile_ids (e.g. languages) for a template you now have to use a cache_id, even if you didn't need a cache_id till now. andreas -- andreas kossmeier bergfex.at - http://www.bergfex.at