Why is my site taking so long to load?

I've been doing some research this morning, and as a result have enabled compression and installed WP Fastest Cache, but I still feel my site is unusable, it takes far too long to load anything.

I think this is putting people off using it. Can someone take a look at Link removed at members request and see what the problem is please?

Thanks

  • PC
    • WPMU DEV Initiate

    Hello there Sally,

    Thanks for posting on the forums.

    I opened your site and it seemed to load fine for me. However not as fast as other websites load for me.

    So, what kind of hosting are you using ? Shared or a VPS ?
    Is your hosting optimized for WordPress ?
    How many plugins are you running on your site ?

    Please answer them for me so that we can find out what might be wrong.

    Enabling caching plugins does improve the performance a bit but not as much as we expect, hosting does matter a lot.

    If a hosting service is not fast enough, no matter how great we design the website or how light the website is, it would not load properly.

    Please advise.

    Cheers, PC

  • Sally
    • The Crimson Coder

    Hi PC

    Thanks for getting back to me.

    I'm using hostgator, not sure whether that's shared or VPS?

    Is there something I need to do to optimise my hosting for wordpress?

    I currently have 20 active plugins on the site. When I used a tool to check which ones used the most resources, it was the WPMU plugins, which I do need for the site to have the functionality I need.

    Thanks

    Sally

  • PC
    • WPMU DEV Initiate

    Hey there Sally,

    Sorry for the delay in response. I was not well and was away from work for a few days.

    Is there something I need to do to optimise my hosting for wordpress?

    You should ask them on which plan you are. If you are using a VPS, things would be different.

    Shared hosting does not provide a good performance on your site speed. That is generally for developing sites but as soon as it starts getting good traffic, the site performance will fall drastically.

    Shared hosting does not have a good amount of php memory available so the plugins would not function properly as well.

    Please advise if you get more info from your host.

    Cheers, PC

  • faydra_deon
    • WordPress Warrior

    @Sally:

    You're most likely on shared hosting with Hostgator. I had them up until a few days ago when I switched away, because I was tired of them shutting down my sites saying that I was overusing resources.

    I thought it may help you if I shared with you what they sent me a few times when they said I needed to make my sites "smaller."

    1) Download and activate WP Super Cache:
    http://wordpress.org/extend/plugins/w3-total-cache/ using the recommended settings here: https://support.hostgator.com/articles/specialized-help/technical/wordpress/wp-super-cache-plugin
    2) Download and activate WP Smush.it:
    http://wordpress.org/extend/plugins/wp-smushit/
    This plugin will optimize every image upload henceforth.
    3) Don't use ETags unless customer are taking advantage of it. How to http://www.tipsandtricks-hq.com/how-to-add-far-future-expires-headers-to-your-wordpress-site-1533
    4) Use external scripts. Instead of placing tons of code in your header.php file, use external scripts. This allows the browser to cache the script so it won't have to read it for every other page.
    5) Keep page sizes less than 100kb. Do not use too many unnecessary images and video on a page. Always compress the images appropriately.
    6) Disable wp-cron. Insert in wp-config.php this command:
    define('DISABLE_WP_CRON', true);
    7) Optimize WordPress database. For that customer should use one of three plugin:
    WP-DBManager - http://wordpress.org/extend/plugins/wp-dbmanager/
    WP-Optimize - http://wordpress.org/extend/plugins/wp-optimize/
    WP-Clean Fix - http://wordpress.org/extend/plugins/wp-cleanfix/
    8) Reduce requests from bots. Example of robots.txt for CMS WordPress:
    User-agent: *
    Crawl-delay: 10
    Disallow: /cgi-bin/
    Disallow: /wp-login.php
    Disallow: /wp-register.php
    Disallow: /xmlrpc.php
    Disallow: /wp-admin/
    Disallow: /wp-includes/
    Disallow: /wp-content/plugins/
    Disallow: /wp-content/themes/

    I copied and pasted exactly what they sent me, so some of this may not apply to you, but it'll at least give you some ideas of what else you can do to optimize your site.

    Another thing that might be happening is that someone may be trying to hack into your site. There's a plugin called BruteProtect that will shield you from that. Here's the link: http://wordpress.org/plugins/bruteprotect/ This was happening on a site I have on hosting with IX Webhosting.

    Also, here's a link to Vladimir Prelovac's WordPress Optimization Bible: http://www.prelovac.com/vladimir/wordpress-optimization-guide. It may also help, although it may duplicate some of the information that I copied and pasted right above.

    I hope some of this helps.

    Faydra...

  • Sally
    • The Crimson Coder

    Thank you to you both for your help, and sorry for the delay in responding, been a bit busy with xmas :slight_smile:

    Thanks for all those tips, one question I do have... if I were not on shared hosting, could I avoid doing all those things? Would it all work no matter what if I just had some proper hosting?

    What is the alternative to shared hosting actually called, and is it very expensive? I'm in the UK, can you recommend any good companies to go with, or would setting up my own hosting computer at home be a good idea if I have about 3 sites I'd like to get transferred to the wordpress system and want to keep costs down for now?

    I'm trying to get an answer from Hostgator, but their chat isn't working atm. I suspect I am on a shared plan, as I know I came through a resellers account.

  • Wharrf
    • Site Builder, Child of Zeus

    Hi Sally,

    Alternative to Shared hosting will typically be Virtual Private Server (VPS) or Dedicated server. They will tend to be expensive.

    Instead, may i suggest a managed WordPress Hosting instead. For me, I would recommend:

    http://getflywheel.com : I use them and I really like them. The team is completely awesome and they will help you migrate your wordpress site.

    http://wpengine.com/: The most talked about managed wordpress hosting but they are more expensive.

    If you need someone to manage the migration, do a site optimization and manage your site, you could try http://stewaard.com

  • PC
    • WPMU DEV Initiate

    Hey there Sally,

    Sorry for having missed your last response as I was away due to some personal issues.

    Glad to help and thanks to everyone who participated in this thread :slight_smile:

    Please feel free to ask if you have more questions.

    Cheers, PC

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.