O'Reilly logo

Pro PHP Application Performance Tuning PHP Web Projects for Maximum Performance by Tim Hawkins, Armando Padilla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Opcode Caching

Removing any unnecessary process when a request is made to a PHP script is now our goal when speeding up our PHP scripts. By removing a process that does not have to routinely execute during the PHP life cycle, we optimize our application to respond faster to any of our users' requests.

In the previous chapter, we briefly touched on Opcode by analyzing it. Within this chapter, we will take a deeper look at Opcode by reviewing each step of the PHP life cycle in detail and identifying what happens to a PHP script that is executed by the Zend engine. You will also learn about Opcode caching and how caching is used to speed up the PHP life cycle. Finally you'll learn about caching tools, such as the following:

  • Alternative PHP ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required