• Hello All, hope you are well.

    I need some help with a problem I am bang my head against a brick wall with.

    I’ve build many WordPress site now and never had an issue like this. I’m not a ‘newbie’, but I’m no heavy weight Code Rangler either. I’m Somewhere in between.

    So my problem is this site I am building has suddenly begun to run very slowly. Page loads of about 25secs. It ridiculous.

    I’ve looked at all of the obvious things – optimised images, upgraded WordPress, disablabled plugins, changed to default theme etc. But even with no plugins enabled and the 2010 theme activated, I still have a 25sec page load time.

    I’ve used Firebug to see if I could see what was taking the most time to load. I can see the very first item is taking 23sec to load!

    Here is the site https://superlites.co.uk/sl

    Firebug is telling me that ‘GET SL’ is taking 22.73secs.

    Great. But now I don’t know what to do to rectify this.

    Does anyone have any ideas where I should go from here?

    Any help would be greatly appreciated.

    Thanks All, if you need any further info from me, please let me know.

    Cheers

    Mark.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator keesiemeijer

    (@keesiemeijer)

    try switching to the default theme to rule out any theme-specific problems?

    Moderator keesiemeijer

    (@keesiemeijer)

    Put this at the bottom of your footer and see how many queries are run:
    <?php echo $wpdb->num_queries; ?> <?php _e('queries'); ?>. <?php timer_stop(1); ?> <?php _e('seconds'); ?>

    Moderator keesiemeijer

    (@keesiemeijer)

    To show the queries for testing put this in your wp-config.php define('SAVEQUERIES', true);

    and this also in your footer:

    if (current_user_can('administrator')){
        global $wpdb;
        echo "<pre>";
        print_r($wpdb->queries);
        echo "</pre>";
    }

    Check also your server error log if there are are a lot of errors on the page.

    Thread Starter 8persap

    (@8persap)

    Great, thanks for the tip off.

    I dont know much about errors logs and the like.

    I’ll put this in the header as suggested…

    <?php echo $wpdb->num_queries; ?> <?php _e(‘queries’); ?>. <?php timer_stop(1); ?> <?php _e(‘seconds’); ?>

    …but were do I then find how many queries are run?

    Any further guidance and help greatly appreciated.

    Thanks

    Mark.

    Thread Starter 8persap

    (@8persap)

    Hello Again.

    Is there anyone who could visit https://www.superlites.co.uk/sl/ for me and load the page with Firebug running and the ‘Net’ panel open.

    It shows that ‘GET SL’ is the thing taking ages to load.

    Does anyone know what this means or how I might address it?

    ‘SL’ is the sub-directory the wordpress installation is installed into, so I’m guessing it’s something to do with that, but I really need the help of a seasoned WordPress code wrangler to advise what I should do next.

    Thank for reading, really hope you can help.

    Cheers

    Mark.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘23sec load time on 'GET' function…’ is closed to new replies.