On this post,

Which PHP (opcode) cache one should use and why?

I it seems my link to Wikipedia engulfed the entire paragraph. I used the normal word syntax, and it appears ok in preview.

alt text http://img11.imageshack.us/img11/6177/65622907.jpg

3 Answers 3


Looking at the edits, you have 5 links, but only 4 actual references to those links. There's a mismatch count right there that might be a problem.

  • I do that all the time, with named Markdown links, and I never had any problems. Aug 19, 2009 at 16:15

The URL for link 4 is bogus. Might want to fix that...


Added for testing Purposes.

The products you list serve different purposes.

OPCode caches

There are many PHP Accelerators (OPCaches) as seen on this Wikipedia list. As is common with open source products, they are all fairly similar. XCache is the lighttp PHP accelerator, and is the default choice when you are running that HTTPd. It works well with Apache as well, however APC seems to be slightly more "plays well with others" socially speaking, being officially supported as part of PHP, and is released in-step with the official PHP distribution.

I abandoned usign eAccelerator due to its slowing development, and lagging against the releases of PHP, and the official blessed status APC offers with similar performance.

These products typically are drop in; no code change instant performance boost. With large codebases (Drupal, Wordpress) the performance can be up to 3x better while lowering response time and memory usage.

Data Caching

Memcache is a slightly different product -- you might think of it as a lightweight key value system that can be scaled to multiple servers. Software has to be enhanced to support Memcache, and it solves certain problems better than others. If you had a list of realtime stock values on your website, you might use Memcache to keep a resident list of the current value that is displayed accross your website. You might use it to store session data for short term reuse. You wouldn't use it for other things such as full-page caches, or as a replacement for MySQL.

There are also Wordpress addons such as WP-Cache or WP-Super-Cache that can drastically improve Wordpress' performance (infact, WP-Super-Cache can rival static HTML based sites in many cases)

In summary -- I would highly recommend APC if you want a "set it and forget it, well supported product".

Not the answer you're looking for? Browse other questions tagged .