Re: [SMARTY-DEV] Cache Handling 2.5 RC1
| From: | messju mohr | Date: | Fri, 21 Mar 2003 08:22:21 +0000 |
| Subject: | Re: [SMARTY-DEV] Cache Handling 2.5 RC1 | ||
| References: | 1 2 3 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-997@lists.php.net to get a copy of this message | ||
On Thu, Mar 20, 2003 at 05:47:28PM +0100, Andreas Kossmeier wrote:
> Monte Ohrt wrote:
> >And just discard the compile_id when clearing cache files? This sounds
> >like it would work OK. The only issue I can think of is you can't clear
> >cache files for one particular compile_id, but that doesn't sound like
> >its too useful anyways, nor should compile_id be related to cache
> >clearing anyways.
>
> right. if someone wants to group several cache files, there *is* (and
> should be) only one way to do this: use a hierarchical cacheID
>
> compile_ids were introduced to differentiate between _versions_ of a
> template created at compile time, all version represent the same data...
okay, it took me a few days to believe, but i got it at last. it's
fixed in cvs. compile_id is ignored in clear_cache() now.
greetings
messju