Need to speed up wordpress site.

5 replies
  • WEB DESIGN
  • |
I just redesigned a site for a client and used wordpress as the cms. The site is nothing but page after page about different items with a pic or 3 for each.

www.allachporcelain.com/wp

I installed a caching plugin which made a small difference but its still really slow. I checked the site speed on WebPagetest and it seemed to think the speed was decent. I am not really sure what is going on.

One suggestion I got was to put the site on an ecommerce platform which is meant to handle tons of items like this. Problem is that the guy who will be using the site and adding pages in the future has the computer knowledge of a squash. Even wordpress is hard for him and its about as easy as it gets. Plus I dont want to have to completely redesign the site again!

Any suggestions to get the current site loading faster?
Thanks for any help.
K
#site #speed #wordpress
  • Profile picture of the author SteveJohnson
    <!-- 1115 queries, 20MB in 0.931 seconds. -->
    A couple of things - first, the above. Way too many queries just
    to generate a home page. You need to determine what's up with that.

    Second, I don't see anything on the page that can't be done with CSS instead
    of loading the whole jQuery library and its associated helpers.

    Last, you should look into optimizing your images better. You have over
    100K of images on the front page alone, which is excessive.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[2715389].message }}
  • Profile picture of the author Greg D
    Put this one line of code into your site to make it load faster:

    <?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?>

    Put it ABOVE the: <!DOCTYPE html PUBLIC " in your header.php file

    I found this on a blog on the net and used it, seems to work.
    there are great suggestions from Steve (who is NOT a cowboy).

    there are some other plugins in the wp repository as well. wpminify is one.

    Greg
    Signature
    Premium Wordpress Directory Theme
    No Other Directory Theme Compares
    Premium Wordpress Adspace Plugin
    All On Site Advertising On Autopilot
    {{ DiscussionBoard.errors[2716783].message }}
  • Profile picture of the author Abledragon
    Here are 4 things you can do (it may be that your caching plugin handles some of them, but I don't know what you're using):

    1. Enable Gzip (article on that here: Gzip Compression: Speeding Up Site Load Times | Create an Awesome Home Business)
    2. Optimise your images
    3. Review your plugins - any plugins that access external sites will slow down your load time. Find an alternative way of achieving what they do if possible.
    4. Minify your pages (HTML), CSS files and JS files (the W3-Total-Cache plugin does all that for you - reviewed here: W3 Total Cache Plugin Review | Create an Awesome Home Business
    5. Review your theme code. Themes are based on PHP (because WordPress is PHP) and if the theme is poorly coded it will make more calls to the server than necessary, slowing down load times.

    Cheers,

    Martin.
    Signature
    WealthyDragon - Earning My Living Online
    {{ DiscussionBoard.errors[2718085].message }}
  • Profile picture of the author y2gabs
    Ahh yes, the dreaded heavy plugin - wordpress install

    You can try wpsupercache plugin. Also, try the google javascript libraries... google has way more bandwidth than your website
    {{ DiscussionBoard.errors[2727210].message }}
  • Profile picture of the author phpbbxpert
    Your page itself is not as bad as most, with 25 http requests, I have seen a whole lot worse.

    What is hurting you the most is the Queries like Steve mentioned.
    <!-- 1115 queries, 22MB in 3.929 seconds. -->
    Is ridiculous and I am surprised there are not worse consequences that slow loading.
    On a shared host that is the problem.

    After that is fixed, then optimize the graphics and code.

    Using cache will do no good, just mask the problem a bit, and you have a big one with that many queries.
    You can not fix this query issue with a cache plug-in.
    The last thing you need is a plug-in!

    By the way, I just had another look and it is worseon deeper pages.
    <!-- 1946 queries, 26MB in 29.041 seconds. -->

    For memory typically the server is set to 32megs.
    So you are tipping the scales here on both queries and memory.

    My guess is if this isn't fixed your site will either crash or your host will be contacting you.

    10 visitors on this site at one time will most likely crash the SQL server.

    I would start by removing plug-ins, maybe even one at a time.

    By the way, you can find this
    <!-- 1946 queries, 26MB in 29.041 seconds. -->
    on each page of your site by viewing the source code at the bottom..

    A heavy un-optimized WP site would be around 40 - 100 queries which in my book is still awful and would not pass for me.

    But that gives you an example to work from.
    {{ DiscussionBoard.errors[2727392].message }}

Trending Topics