views:

486

answers:

3

I need a opcode-cache in my project. Also i will use for the datastore (mysql returned row) cache ? Which is the best for you and WHY ?

+5  A: 

I'd choose APC, but only because it's being adopted as part of PHP 6.

There are also some good opinions offered on this question.

Ian Gregory
Indeed, and I still recommend APC. Memcache has some interesting features - distributed caching but no opcode cache.
David Caunt
Facebook uses APC very heavily -- so suffice it to say, it's pretty soundly proven in production environments.
Frank Farmer
A: 

I use XCache because it was written by the same person who wrote lighttpd, which was written for SPEED. Works on apache, also.

David Barnes
A: 

FWIW I've had great success (reliability-wise and performance-wise) using XCache. I also use it in conjunction with memcache to speed up session operations and cut down on hits to MySQL.

matt