WordPress.org

Ready to get started?Download WordPress

Forums

Site is slow. Both admin and front end. (4 posts)

  1. dizzyland
    Member
    Posted 1 year ago #

    Any ideas what might be the problem? I'm at a loss.

    I had it on godaddy and it was slow... then moved it to a new host and it's still slow but all my other sites are fast.

    I've disabled plugs and they don't seem to be the issue. I've installed Vihv Speed Up (which has had really great results on my other sites, btw) and I installed Hyper Cache but it doesn't seem to be caching anything. Not sure what's up with that but I'd rather not use it anyways because the widgets will likely always need updating. (Pinterest and etsy items.)

    Any help would be most appreciated.

    Here's the site: powpowdesigns.com

  2. Frumph
    Member
    Posted 1 year ago #

    You could add this to the functions.php file of your theme

    function easel_debug_page_foot_code() { ?>
    	<p><?php echo get_num_queries() ?> queries. <?php if (function_exists('memory_get_usage')) { $unit=array('b','kb','mb','gb','tb','pb'); echo @round(memory_get_usage(true)/pow(1024,($i=floor(log(memory_get_usage(true),1024)))),2).' '.$unit[$i]; ?> Memory usage. <?php } timer_stop(1) ?> seconds.</p>
    <?php }
    add_action('wp_footer', 'easel_debug_page_foot_code');

    Which will output how many queries the page does and how much memory is used for the page load as well as how long it takes for the page to load. Generally slowness like that happens when there is a predominate amount of execution going on to generate the page via PHP. This could happen when you are on shared hosting and you basically run a lot of plugins, this happens a lot with SEO plugins.

  3. dizzyland
    Member
    Posted 1 year ago #

    Thanks, Frumph!

    Well, I tried what you suggested and this came back:

    43 queries. 28 mb Memory usage. 3.234 seconds.

    43 queries and 28 mb seems unreal!

    It's weird that the admin is really slow as well... -like frequently times out kind of slow.

    I found this: http://digwp.com/2011/06/dont-use-postname/

    It seemed to help a bit but not a ton.

    I have no idea what could be causing this. What should be my next step?

  4. Frumph
    Member
    Posted 1 year ago #

    Actually that's not horrible & yeah, the /date/ permalink ones are good ones to use, the 3.234 seconds part shows me that it's doing *a lot* of processing with that memory

    Did you try to see what it looked like without any plugins loaded?

Topic Closed

This topic has been closed to new replies.

About this Topic