Support » Fixing WordPress » 35 second to load my home page

  • Hi,

    since the last month I’ve encountered a problem with my web site based on wordpress. Without any apparently reason the home page take very long time to load, about 35 seconds.

    I’ve tried to deactivate all the plug-ins, to inspect the code, but nothing, I didn’t understand the reason of this problem.

    Any of you had this kind of problem before and got the solution ?


Viewing 5 replies - 1 through 5 (of 5 total)
  • not sure if this is the problem but the following is not found…

    have you tried disabling:

    could be that both are causing the problem

    Hi, hard to say whats the realy reason.
    The main request (index.php) takes a lot time and seems not be delivered step by step but only at once!
    Did you install any plugin, that modifies the complete page content prior to delivery ?
    This would keep the page as long unsend as the complete page code are build and at once parsed.
    Also i found, that you work with session cookie. may be its used to track user and write back to database.
    If there ist new code doing so, please be sure that writing to database will be done after all content been generated not in front of.
    Mostly database need a lot of time for writing but are optimized for reading. So try to place monitoring at the end of footer, so the browser can start rendering content sent until here.

    BTW: the calendar.css been reported by 404 Not found.

    Moderator kmessinger


    You have many html errors which can add to loading time. I suggest you validate your code at

    In addition, the images you are loading like are taking a long time to load. That is an inherent problem with shared advertising resources. I have dropped one source (linksys) completely because of slow loading. I think that one fix (not a solution) is to make sure your slow ads load last. Then your reader can at least start looking at your site.

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    When you have slow-to-load images, make sure that you specify the width and height of those images. This allows the browser to render the rest of the page, leaving space for that image to load into later.

    Hi everyboy!!

    thank for your precious support, I can tell you that after a series of tests I see that the problem is in the loops,

    I use a specific code to query my DB in order to show specific post in the future:

    the following is the first one:

    <?php query_posts('showposts=-1&order=ASC&cat=-14,-10'); ?>
    <?php if ( have_posts() ) { while ( have_posts() ) : the_post(); ?>
    <?php static $ctr = 0;
    if ($ctr == "3") { break; }
    else { ?>
    <?php  $mylimit=60*60*24*7; //secondi * minuti * ore [* giorni]
     if ((get_the_time('U') <  (current_time(timestamp) - (get_settings('gmt_offset') * 3600) + $mylimit)) && (get_the_time('U') > current_time(timestamp)) ) {?>

    the following is the second:

    <?php query_posts('showposts=-1&offset=2&order=ASC&limit=5&cat=-14,-10') ; ?>
    <?php if ( have_posts() ) { while ( have_posts() ) : the_post(); ?>
    <?php static $ctr = 0;
    if ($ctr == "7") { break; }
    else { ?>
    <?php  $mylimit=60*60*24*7; //secondi * minuti * ore [* giorni]
     if ((get_the_time('U') <  (current_time(timestamp) - (get_settings('gmt_offset') * 3600) + $mylimit)) && (get_the_time('U') > current_time(timestamp)+48*3600 ) ) {?>
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘35 second to load my home page’ is closed to new replies.