Re: [SMARTY-DEV] Changed cache_lifetime-handling and added expiration date
| From: | Norbert Röcher | Date: | Sat, 13 Apr 2002 05:45:34 +0000 |
| Subject: | Re: [SMARTY-DEV] Changed cache_lifetime-handling and added expiration date | ||
| References: | 1 2 3 4 5 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-61@lists.php.net to get a copy of this message | ||
"Norbert röcher" <norbert.roecher@t-online.de> schrieb im Newsbeitrag
news:20020412204526.47325.qmail@pb1.pair.com...
>
> "Monte Ohrt" <monte@ispi.net> schrieb im Newsbeitrag
> news:3CB73EBF.2050609@ispi.net...
> > At the same time, I want to try to avoid adding any more
> > user-configurable variables unless absolutely necessary. We
probably
> > just need to decide, for what reasons is each situation useful or
> makes
> > better sense?
Well, after a bag of sleep: what about just another status for
"caching"?
caching = 0; -> no caching
caching = 1; -> expire by lifetime
caching = 2; -> expire by expiration
This enables the user to choose without any "bad" consequences after an
update or a change. No need for "clear_cache" or anything like that. An
expire by lifetime would work, even after month of using "expiration"
and same in reverse. It could be made fully downcompatible to running
systems.
Regards,
Norbert