[wp-hackers] Slow loading WordPress (Hack solution)

Peter van der Does peter at avirtualhome.com
Fri Dec 5 16:35:51 GMT 2008


On Mon, 1 Dec 2008 21:48:15 -0500
Peter van der Does <peter at avirtualhome.com> wrote:

> I have friend who has a site that is extremely slow in loading, we
> tried WordPress 2.3.x 2.5.1, 2.6.5. The original site ran 2.3.1 when
> it became slow. The site ran fine for 3 weeks and became slow after
> writing a post, nothing out of the ordinary, same ole article as any
> other. Deleting the post didn't help. The site had about 60 posts.
> 
> What is slow, you ask, how about 20 secs to load index.php according
> to Firebug, no plugins, default theme. Here's the weird thing, the
> plugin wp-spamfree loads a file called wpsf-js.php. This file also
> takes 20 secs to loads.
> 
> On the site is also phpBB installed and there are no speed problems
> with it, neither with a php file that was uploaded to show the
> phpinfo().
> 
> Does anybody have any clue what to look for?
> 
> Things we have done so far but didn't help
> 1. Optimized tables.
> 2. Dropped all tables and imported them again.
> 3. Upgraded to 2.6.5
> 
> The site: http://1vibe.net
> forum: http://1vibe.net/forum
> 
As the provider couldn't solve the issue (Uuuh, yeah, sure, whatever) I
came up with a hack. Unfortunately it's a core hack, which I
don't like but my friend is OK with it, as long as it made his site
response normally again. I edited the wp-includes/cron.php to use an IP
instead of site url.

Details can be found on my blog:
http://blog.avirtualhome.com/2008/12/03/wordpress-being-slow-a-dns-problem/

-- 
Peter van der Does

GPG key: E77E8E98

WordPress Plugin Developer
http://blog.avirtualhome.com

GetDeb Package Builder/GetDeb Site Coder
http://www.getdeb.net - Software you want for Ubuntu


More information about the wp-hackers mailing list