Data-Caching Strategies in PHP


The first and easiest-to-implement caching technique for your PHP applications is something called opcode caching. Also known as a compiler cache, this technique corrects a rather obvious inefficiency in the way out-of-the-box PHP executes its code. This technique increases the performance of your PHP scripts anywhere from 50 percent to 200 percent with no other code changes. To understand how it works, let’s take a look at what happens when PHP executes a script.


Cache Data Successful Cache Cache Mechanism Cache Condition Local File System 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© John Coggeshall 2009

Personalised recommendations