Page 1 of 1

Pear Caching system

Posted: Tue Oct 16, 2007 9:09 pm
by zyklone
Hi,

What is the best to use for caching?

Cache_Lite or Cache?

Posted: Tue Oct 16, 2007 9:50 pm
by Christopher
The difference is features. Use the simplest one that meets your needs. I believe the same person who wrote those also did the Zend Framework cache classes.

Posted: Tue Oct 16, 2007 10:12 pm
by zyklone
in Pear there are two caching package...
one is Cache_Lite and the other is Cache

which one is the best to use

Posted: Tue Oct 16, 2007 10:21 pm
by Christopher
I believe that they are the same basic caching code, but Cache has more features.

Posted: Tue Oct 16, 2007 10:21 pm
by Benjamin
arborint wrote:The difference is features. Use the simplest one that meets your needs. I believe the same person who wrote those also did the Zend Framework cache classes.
What he said :roll:

Posted: Tue Oct 16, 2007 10:23 pm
by Christopher
Cache_Lite is the one currently has a maintainer. Try that one first. Cache is a more general caching system. So if that is what you are looking for, use it. There are several others, such as the Zend Framework one I mentioned.