Hey,
Here are some ideas:
- Statistics scripts like Stat Counter can load slowly if their site is having
problems or under heavy load
- Poorly written database queries can really drag performance down. Is there
anywhere you could use one query instead of multiple calls to the db?
- You could install the Firebug add-on (if you're using Firefox) - it has a
tool that allows you to time how long each element on the page is taking to
load. That could be useful in finding the problem.
Good luck,
-Rusty
Jason Porter <[EMAIL PROTECTED]> wrote: -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I took some freelance work to improve the speed of a site. I've done
all of the things that I could think of, improve the includes in the php
code (instead of doing url includes to the same site), configure
mod_expires, mod_deflate (site is on apache2 (2.0.52)), I've even gone
so far as to install eaccelerator thinking maybe it was PHP stuff.
Sometimes the site loads really fast, other times it takes 20 seconds to
load up the site. PHP is running in CGI mode, which may have something
to do with it (php 4.3.9 BTW).
Box is a coloc box running RHEL ES 4. There's hardly any server load on
it, top shows it typically staying around 5% or less on the CPU load.
He has 60ish sites setup as virtual hosts and they each have a few
mod_rewrite rules, but this really shouldn't be much of a problem.
Anyone have experience in tweaking apache or troubleshooting slow sites?
~ I'm currently at a brick wall, I have no idea what to look at next.
- --
- -Jason Porter
Real Programmers think better when playing Adventure or Rogue.
---------------------------------
Never miss a thing. Make Yahoo your homepage.
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net