A HOWTO on Optimizing PHP with tips and methodologies


Subject: A HOWTO on Optimizing PHP with tips and methodologies
A HOWTO on Optimizing PHP with tips and methodologies
PHP is a very fast programming language, but there is more to optimizing PHP than just speed of code execution.

In this chapter, we explain why optimizing PHP involves many factors which are not code related, and why tuning PHP requires an understanding of how PHP performs in relation to all the other subsystems on your server, and then identifying bottlenecks caused by these subsystems and fixing them. We also cover how to tune and optimize your PHP scripts so they run even faster.

http://phplens.com/lens/php-book/optimizing-debugging-php.php

Subject: Re: A HOWTO on Optimizing PHP with tips and methodologies
The PHP Anthology Volume 2, Chapter 5 - Caching
By Harry Fuecks

February 16th 2004

Reader Rating: 8.8

In the good old days, back when building Websites was as easy as knocking up a few HTML [1] pages, the delivery of a Web page to a browser was a simple matter of having the Web server fetch a file. A site's visitors would see its small, text-only pages almost immediately, unless they were using particularly slow modems. Once the page was downloaded, the browser would cache [2] it somewhere on the local computer so that, should the page be requested again, after performing a quick check with the server to ensure the page hadn't been updated, the browser could display the locally cached version. Pages were served as quickly and efficiently as possible, and everyone was happy (except those using 9600 bps modems).

The advent of dynamic Web pages spoiled the party, effectively "breaking" this model of serving pages by introducing two problems:

http://www.sitepoint.com/print/php-anthology-2-5-caching

Subject: Re: A HOWTO on Optimizing PHP with tips and methodologies
cache
http://unearth.sourceforge.net/
http://www.jpcache.com/
http://eaccelerator.net/
http://turck-mmcache.sourceforge.net/

Subject: Re: A HOWTO on Optimizing PHP with tips and methodologies
Thanks, I'll have a look. :mri:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.2948s (PHP: 9% SQL: 91%)
SQL queries: 11 - Debug Off - GZIP Enabled