On Thu, 5 Aug 2004 16:17:34 +0530, Vinayakam Murugan
<[EMAIL PROTECTED]> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to