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 ...

Get Pro PHP Application Performance Tuning PHP Web Projects for Maximum Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.