Caching & dynamic changing of cache_dir
| From: | Norbert Röcher | Date: | Fri, 28 Jun 2002 03:56:29 +0000 |
| Subject: | Caching & dynamic changing of cache_dir | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5080@lists.php.net to get a copy of this message | ||
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