1

I have been configuring a wordpress theme for a month now, but know I want to increase the speed. I have read different tips on increasing speed, which have dramatically helped, but it seems that the initial load to my domain is taking the longest. Using the "net" tab in firebug tool, it shows me the different processes being ran. I have changed some static php requests in the header, footer, and other parts of my theme. I have removed any plugins, Im not using; and optimized some images. I optimized my database by permanently removing post/page revisions. I have removed garbage database entries.

I should mention that I did use W3 Total Cache, which did increase the speed of the site, but some of the caching options were confusing as some recent changes to the site were not being picked up. My site is based on my members creating/updating coupon and offer enteries, so its imperative that they are able to see any changes made to the site and their personal listings. So for the time being I deactivated it.

Why does it take so long (avg. 8 secs) to load the first request, which is my domain? How to I increase this waiting time?

This is the site: savingsulove dot com

1
  • Perhaps you should give the WP Supercache a shot, mate.
    – dabito
    Commented Feb 25, 2011 at 22:03

2 Answers 2

5

It's probably because you're hosting the site at a budget host (traceroute says GoDaddy, right?) and their shared host database server is super duper slow (very likely). Move it to a faster, probably more spendy host and it will likely solve your speed issues.

2
  • Thanks a lot. I was hoping this would be my last resort. Most likely I will have to transfer to a faster hosting company. I appreciate the advice!
    – gdinari
    Commented Feb 25, 2011 at 20:42
  • IMO there's a lot you can still do to improve your site's speed. I would suggest trying a couple other cache plugins and also a compression plugin (like wp minify). WP super cache has a preload option and many configuration options related to garbage collection.
    – dabito
    Commented Feb 25, 2011 at 22:06
5

Wordpress has a configuration option for logging SQL queries, which will help you identify bottlenecks occurring in the back-end. It can be enabled by adding this line to your configuration file:

/* wp-config.php */
define('SAVEQUERIES', true);

Next, add these two lines to the end of footer.php in your Wordpress theme:

/* footer.php */
global $wpdb;
print_r($wpdb->queries);

This will give you detailed information about the SQL queries executed in the course of generating each page you load. If you'd like this information presented in a human-readable format, consider integrating Wordpress with FirePHP. There's a good tutorial here.

2
  • Thanks yes I used it and there is an EXTREMELY large block of a single query. I start off like this: [0] => UPDATE wp_options SET option_value = 'a:13125:{i:1296543377;a:1:{s:15:\"my_hourly_event\";a:1:{s:32:\"40cd750bba9870f18aada2478b24840a\";a:3:{s:8:\"schedule\";s:5:\"daily\";s:4:
    – gdinari
    Commented Feb 25, 2011 at 21:08
  • The "option value" keeps repeating over and over again. It takes up at least 1,000 lines when I view it in dreamweaver editor. Is there a way to reduce/eliminate this query. There are also some others that I need to look through
    – gdinari
    Commented Feb 25, 2011 at 21:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.