Re: [SMARTY] Caching & dynamic changing of cache_dir
| From: | Monte Ohrt | Date: | Fri, 28 Jun 2002 05:25:25 +0000 |
| Subject: | Re: [SMARTY] Caching & dynamic changing of cache_dir | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5082@lists.php.net to get a copy of this message | ||
Give them different cache_id's if they are from separate cache directories.
Norbert Röcher wrote:
Smarty buffers read cached files in a static variable ($content_cache). Nice. But however, it doesn't pay attention to the current cache_dir. So, if I do dynamic changes on the cache_dir, smarty always spits out the buffered output. Would be nice, if Smarty would support different cache_dirs. A cache_dir-identifier could be added to the identifierstring of the buffer. What do you think? Regards, Norbert