[Phpug] Caching / Optimising / Speeding Up Php Scripts / Sites?

Michele Neylon michele at mneylon.com
Fri Jun 29 15:25:43 IST 2007


Kae Verens wrote:

> 
> optimising is a magic all of its own. you'd really have to say why it's 
> segfaulting.

That's one of the problems ... I don't actually know

> 
> In general, though - I'd say try to reduce the number of MySQL queries the PHP 
> is running, and the number of includes. The less PIDs running around the 
> system, the lower the system's load, the better its chance of not dying.
> 
> you can speed up delivery of sites by doing little things like having all the 
> static images, CSS and JavaScript hosted on a separate domain name, combining 
> images whenever possible, and caching (in database if necessary) published 
> pages which are not likely to change for a day or so, instead of dynamically 
> creating them on each view.
> 
Unfortunately the site works by updating the images etc., on the fly ...

-- 
Michele Neylon
http://www.mneylon.com/blog/
http://www.irishwebmasterforum.com/


More information about the Phpug mailing list