Re: [SMARTY] Caching & dynamic changing of cache_dir
| From: | Norbert Röcher | Date: | Fri, 28 Jun 2002 05:51:55 +0000 |
| Subject: | Re: [SMARTY] Caching & dynamic changing of cache_dir | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5083@lists.php.net to get a copy of this message | ||
"Monte Ohrt" <monte@ispi.net> schrieb:
> Give them different cache_id's if they are from separate cache
directories.
Nope. It's not that simple. :-)
To explain:
The cache_dir is changend dynamicly to the name of the content blockID.
The blockID is the ID of the content block, wich is passed to smarty by
the app. This block maybe used by several different templates. So i need
to be able to delete all cached templates of a specific blockID (without
knowing all templates cache_id's), if the block's content gets changed or
deleted.
Regards,
Norbert