Re: Optimizing Tips

From: Date: Thu, 05 Aug 2004 11:04:24 +0000
Subject: Re: Optimizing Tips
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-192830@lists.php.net to get a copy of this message
On Thu, 5 Aug 2004 16:17:34 +0530, Vinayakam Murugan <vinayakm@theargoncompany.com> wrote: > I am a fresh PHP programmer and am part of a team developing a LAMP based > website. The problem we are facing is that when the site was hosted on a > local server, it was quite fast. Now that we have to use the internet to get > to it, it has become very slow even keeping in mind considerations like > connection speed . > Any pointers on what & how optimizations can be done? How big are the pages you are sending around? How much data are you getting from external sources (like a mysql database or draged in from other sites). How fast is the ilnk from the webserver? There's a lot of good questions you can ask to figure it out. For the first, you can trim the html and images you are sending, and gzip the output (see mod_gzip or http://php.net/ob_gzhandler Alister

« previous php.general (#192830) next »