my wp in 3.0.1 is extremely slow (7 posts)

  1. jobhesk
    Posted 5 years ago #

    It took me three weeks and I am trying to get it up and running. Yesterday it's finally running smoothly. Now, I tried to create a custom page template and it threw WordPress into a slow crawl. I now have to face that I have to abandon WordPress for good because no one was able to help me.


    Why is it slow? I installed LiteSpeed server and only has one mysql db for that WordPress blog.

  2. James Huff
    Support Representative
    Posted 5 years ago #

    Now, I tried to create a custom page template and it threw WordPress into a slow crawl.

    There's probably more than just the template contributing to the slowness.

    Try decativating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Ten theme to rule-out a theme-specific issue.

    I now have to face that I have to abandon WordPress for good because no one was able to help me.

    When did you receive no help? This is your first post here.

  3. Your home page has 2067KBs of images thats over 2M. Most web pages are less than 400KB total weight including css images and javascript.

    Your JavaScript files are non-caching and your theme is calling admin-ajax.php which is taking over a minute to load.

    Some basic front end performance optimization is what you need. WordPress is not your problem.

  4. alstephen
    Posted 5 years ago #

    I too am having some issues with slowness; but not always. I am trying to narrow it down before switching back to 3.0.

    I was curious how you check the size of the home page; also is there a way to have JavaScript cached?

  5. Karen WT
    Posted 5 years ago #

    My blog is also very slow now, intermittently. The worst is anything on the admin side - like bringing up drafts of posts or saving a draft. Suggestions?

  6. jjohnso9
    Posted 5 years ago #

    I updated my my wp-config.php file with the following tag:

    define('SAVEQUERIES', true);

    That command saves the query and the results of the query on a page. In addition to the above, you have to open wp-content\themes\your-theme-name\footer.php and add the following code:

    <?php if (current_user_can('level_10')) { global $wpdb; echo "

    "; print_r($wpdb->queries); echo "
    "; } ?>

    This creates a table of the queries run on a page and their corresponding execution time. You can get this table by opening up any page that uses themes. Then scroll down to the bottom of the page to see the table. On my blog, there are 11 queries that it executes on the page and the total execution time for all of these 11 queries is less then .01 seconds.

    Then I added the following code to the theme footer:

    <?php echo get_num_queries(); ?> queries. <?php timer_stop(1); ?> seconds.

    If you scroll down to the bottom of the Source text, on my page it shows that instead of the 11 queries that the SAVEQUERIES command detected, the page actually ran 15 queries. Instead of the 11 queries taking less than .01 seconds as shown by SAVEQUERIES, the 15 queries took 16.345 seconds.

    I don't know what the additional 4 queries are, but at least one of those 4 is causing a problem. I don't know how to find out what those 4 queries are, but if any of you have an idea, maybe you could pass it on.

  7. hupper
    Posted 5 years ago #

    This may be a coincidence or something but I don't think so. 3.0.1 was so slow I couldn't stand it. What I did was downloaded the version that was humming right along before the change you can find the zip here 2.9.2.
    I went to add new plugin, uploaded that 2.9.2 zip instead and BAM! It's screaming now! Sometimes noobs get lucky ;)

Topic Closed

This topic has been closed to new replies.

About this Topic