WordPress.org

Ready to get started?Download WordPress

Forums

Slow on initial load (12 posts)

  1. tshirtfiend
    Member
    Posted 5 years ago #

    I'm using WP as a CMS for my company's site. Everything is working well…except the fact that it's loading really slow the first time you go to the site. I mean 30-60 seconds slow. It's not a particularly large site, some Javascript going, but not a ton. No flash. It seems like it should be load a lot faster than it is, but I'm not sure what's causing the slowdown.

    I've tried deactivating all of my plug-ins, but that didn't seem to help. I'm running WP Supercache right now, but that doesn't seem to fix the problem either.

    Where do I go from here? How do I figure out what's causing the slowdown?

    Here's the site:
    http://alphabetarm.com/

  2. asechrest
    Member
    Posted 5 years ago #

    Maybe try Firefox with the YSlow add-on, as well as picking up a plugin like WPTuner.

    Maybe with these two tools you can determine what's causing the slowdown.

  3. tshirtfiend
    Member
    Posted 5 years ago #

    I've tried YSlow. I will look into WPTuner.

    Maybe I'm not looking in the right place in YSlow, but it just tells me that it takes a long time to load, and that my site's not that big. I really need help isolating the problem, and what's bogging down the works.

  4. TransPersonal
    Member
    Posted 5 years ago #

    Wow that is slow, I actually stopped trying after a while. There are a number of things that can cause a wp site to be slow: too many active plugins, php queries, mysql processes, etc. I went through the same thing and even after much optimization couldn't fiqure out what was causing the slow down. Then I used the Safari browser for windows and turned on the "Activity" feature and went to my site. The activity tool in Safari lets you know everything that is happening (loading) in the background to put a site together. And once my site loaded I saw a bunch of stuff (stylesheets/js files/images) that weren't found. So it was taking so long because I had the queries in my code to go find those files but since these files didn't exist on my server and since the computer was looking for them none the less, the page took so long to load. So I simply deleted those queries, from header.php and the image calls from the stylesheets and my site got 10 times faster.

    So I suggest you see if that's the problem. If you don't have safari download it for windows or mac (if that's what you use) and go to window >> activity. Then go to your site and see if there are any items that aren't found.

  5. asechrest
    Member
    Posted 5 years ago #

    Not that I'm some expert, but I use the following things to try to pinpoint:

    1) Just viewing the status bar at the bottom of the browser window can show if your site is hanging on loading something. I recently tried to add a Digg submit button to my main page posts, but was able to isolate that they were causing my site to load very slowly.

    2) YSlow

    3) WPTuner - Gives a HTML report at the bottom of every page of your site (viewable only by admin). It includes info like which plugins access the database the most, and automatically highlights something creating a load time greater than 5 seconds. Could help you isolate whether the problem is a plugin, etc.

  6. asechrest
    Member
    Posted 5 years ago #

    Good info, TransPersonal. I'll have to add that to my list of tools to use to monitor site load times. Thanks.

  7. tshirtfiend
    Member
    Posted 5 years ago #

    Thanks for the thoughts.

    I don't think that I have too many plugins active. Right now, it's 9, some of which are really small and only admin related (eg. one that reveals category IDs). I have a sneaking suspicion that it's one of the plugins, Galleria WP, but deactivating it doesn't consistently speed things up.

    Safari says it's taking 1.7s to load. Then I empty the cache and it takes 35s. So it seems like it's something that gets cached, or something with the server.

    Here's a link to what WP Tuner tells me (which doesn't seem helpful to me, but maybe somebody sees something):

    http://s35435.gridserver.com/clientfiles/Picture%201.png

  8. asechrest
    Member
    Posted 5 years ago #

    Check this page on advanced use for WP Tuner. It explains how to time the loading of each plugin and add this to the WP Tuner report. If your theory is that it's Gelleria WP loading slowly, perhaps this would confirm/deny.

    Other than that, I'm out of ideas/knowledge for your problem. Sorry.

  9. tshirtfiend
    Member
    Posted 5 years ago #

    That's cool. That page is definitely helpful.

    With the default settings, the things that it says are loading slow are all in the first section (Page Generation Performance). They are consistantly:

    Start
    widgets_init
    posts_selection

    The "Start" item is almost always highlighted as slow. Any idea what any of those three things do? If you're at a loss, I'll contact the plug-in dev, and see if he has any clues as to what those are.

    The good news is that plug-ins never show up as slow.

  10. asechrest
    Member
    Posted 5 years ago #

    I'm not sure, but would love to know. Just haven't really dug into the plugin much. If I can find any more info tonight I'll post.

    If the dev. reponds, would love to know additional info as well.

    Thanks. Good luck.

  11. tshirtfiend
    Member
    Posted 5 years ago #

    Yeah, I'm going to contact the WP Tuner dev tomorrow…Ran out of time. I'll let you know if I find something else via this thread.

    I'm also going to try the tweaks that the advanced readme suggested.

  12. tshirtfiend
    Member
    Posted 5 years ago #

    I followed the steps in the Advanced Readme to time all of the plugins. It worked fine, but didn't help. Maybe that means I can rule out my plugins? Still, the "Start" page performance is poor and consistently causes slowdown.

    Waiting for the dev on a response.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags