Re: [need for advices] fastCaching
| From: | Bertrand Mansion | Date: | Mon, 22 Jul 2002 14:15:08 +0000 |
| Subject: | Re: [need for advices] fastCaching | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7848@lists.php.net to get a copy of this message | ||
<fabien.marty@free.fr> wrote :
> (Alan)
>> Just a little request - could it use $options =
>> &PEAR::getStaticProperty('Cache_Fast','options'); to get the
>> default
>> options.
>> really nice entry point to the caching package.
>
> I think it's not possible because PEAR.php is included ONLY when there
> is an error... in order to improve perfs (including PEAR.php at each
> time divides perfs by 2).
>
> There would be possible to include PEAR.php when there is no cache or
> when the cache file is expired but not to get default options I think.
KIS (Keep It Simple).
We should not forget that the objectives of this cache class are to improve
performances. If Fabien's class is this fast, I think this is a real need.
I see from here two or three projects where this class can be very useful.
IMO, when it comes to caching, I don't care about error handlings and all
the other pretty features. Let's say this class is featureless and very
dedicated, which is exactly the kind of classes I like :-)
So +1 to have in PEAR. (did I already vote ?)
Bertrand Mansion
Mamasam