RE: [PEAR-DEV] Cache_Lite 1.0 ?
| From: | Fabien MARTY | Date: | Wed, 06 Nov 2002 22:21:57 +0000 |
| Subject: | RE: [PEAR-DEV] Cache_Lite 1.0 ? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-10517@lists.php.net to get a copy of this message | ||
> First, wouldn't Cache benfit from "protection against cache corruption"? If
> this feature is useful for a high traffic site, isn't it also useful to a
> low traffic site? I mean, such a feature might not be *required* by a low
> traffic site, but I don't think it would hurt a low traffic site.
You are right :-) But it would slow Cache a little more. I don't know
Sebastian's or Christian's plan (Cache leaders) about this possibility.
> Second, what are the goals of Cache_Lite and Cache? I can't seem to find
> that in the docs for either.
I will make a real doc for Cache_Lite when peardoc2 is become the
official doc. Now, there is a big example file (docs/examples)
describing the different possibilities of the class.
IMHO, goals are :
- Cache_Lite : fast, light and safe
(Cache_Lite is really fast, the core class is light and can be embedded
in bigger projects and last but not least, Cache_Lite is really safe
because completly protected against cache corruption)
- Cache : features, flexibility
(Cache has more features, and can be used with a file container, a DB
container. Moreover, it has an automatic garbage collector...)
Fab