Choosing a PHP caching technique: output caching into files vs. opcode caching
问题 I've heard of two caching techniques for the PHP code: When a PHP script generates output it stores it into local files. When the script is called again it check whether the file with previous output exists and if true returns the content of this file. It's mostly done with playing around the "output buffer". Somthing like this is described in this article. Using a kind of opcode caching plugin, where the compiled PHP code is stored in memory. The most popular of this one is APC, also