Cache your pages

Although it is not always possible to cache the output of your PHP scripts, sometimes it becomes a necessity - particularly if your servers are being pushed to the limit despite you deploying a PHP accelerator long ago. In this case, you may well find that you can generate a page one every five minutes or so, then serve the static content up to visitors in-between regenerations.


Next chapter: Use persistent connections >>

Previous chapter: Debug your code

Jump to:


Home: Table of Contents

Follow us on or Twitter

Username:   Password:
Create Account | About TuxRadar