• Hi guys,

    Hope you are doing well.

    I need some help with an issue that is becoming more and more important now that I’m starting to see some visitors from Google, and this is just the beginning so it’s important to sort this out sooner rather than later: loading speed.

    I have been lying to myself for too long now and the other day I loaded this website of mine (https://www.ciaolondra.it) from a machine where it had never been loaded. It took, once again, 12-15 seconds to load the home page. I loaded another couple of friends’ websites running WP and the loading times were a fraction of this (3-5 seconds). Needless to say that the second visit is much faster, but since 80%+ of my traffic is new visitors I need to pay close attention to the first visit speed.

    I’m now determined to find the bottleneck in my website, but I am not sure how to do it or what to test? I mean, for example I have run a test on https://www.webpagetest.org and it shows how slow the website is, but I’m not sure how to interpret the data and what to test / change on my website.

    Also, my friends’ websites running WP don’t have any specific plugin to improve speed or other tricks. They are plain installations with a custom theme. My theme is also custom, but just a variation of twentyeleven since I liked the menu structure and the overall layout. It’s perhaps worth mentioning that the home page is a page instead of the blog and that I have included few directives in my config.php file (as read on few blogs) to reduce the size of my db. These are:

    define (‘WP_POST_REVISIONS’, 0);
    define( ‘AUTOSAVE_INTERVAL’, 30000 );

    Can anyone please help me to solve this problem? Thanks a lot in advance.

Viewing 15 replies - 1 through 15 (of 18 total)
  • Check out a Firebug extension called YSlow, it will help analyze where the bottlenecks are.

    Thread Starter svedish

    (@svedish)

    Thanks for your answer. I have checked that out, but it’s not the kind of thing I’m looking for, at least I think. This tool looks like something that advices me on best practices. I need a tool that can actually test the loading times of my specific website, or Home Page and tell me where it’s wasting a lot of time. There is nothing wrong in my pages in terms of best practices. Yes, ok, I could put all js in one file, compress things or use a Content Delivery Network etc, but these other websites I’ve loaded in the same browser (the ones that belong to friends) don’t do all these things and they load in less than half of the time. I’m suspecting that my website has got a problem somewhere.

    Any other suggestions?

    Thanks!

    I took a look at your site, and it’s the generation of the HTML that takes several seconds.

    Either you have something that takes a long time to compute, or you have a very slow host.

    You might want to take a look a caching plugin like W3 Total Cache or WP Super Cache

    Thread Starter svedish

    (@svedish)

    Hi,

    Thanks, that is already a good pointer. The caching options are interesting, but as I said in my first post, my main problem are the first views because most of the traffic I get is “first time” visitors. Any caching module, I guess, would not solve anything for first time visitors. Or am I getting this wrong?

    Many thanks.

    Yup, you’re getting it wrong ??

    You are mixing up client-side caching with server-side caching. The plugins I mentioned does server-side caching.

    Basically they store the generated HTML output, so the server doesn’t have to regenerate it for all visitors.

    Thread Starter svedish

    (@svedish)

    Hehe! Ok, fair enough. I have to confess that a part of me knew I was talking nonsense, but I was not sure. ??

    Ok, that sounds like an interesting route, but there are a couple of questions that spring to mind straight away.

    First of all, doesn’t WP already have an internal caching system?
    Also, not that this website is a news website, but being a touristic guide contents may get updated every now and then. What are the risks of serving outdated contents? Can you kind of set up things like expiration of the cached items or something like that?

    Thanks.

    Thread Starter svedish

    (@svedish)

    By the way, I am trying out w3 Total Cache and I’m getting an error when I try to deploy… Have started another topic about it, so maybe the solution will be accessible to anyone.

    https://www.ads-software.com/support/topic/w3-total-cache-error-are-you-sure-you-want-to-do-this?replies=1

    Cheers!

    I would try Super Cache first then, it might be a little easier for you to get going with.

    Thread Starter svedish

    (@svedish)

    Yes, of course, but does anyone know why W3 Total Cache is giving that error?

    By the way W3 Total Cache doesn’t seem hard to use. I guess that must be a bug or conflict of some sort. I guess bug since this is a plain installation of WP without contents and other plugins? Unless it’s a problem with the server setup, which again they should document?

    Thanks.

    Thread Starter svedish

    (@svedish)

    Hi guys,

    I have a quick update about this issue with W3 Total Cache. I have downloaded W3TC and WordPress 3.2.1 on my local machine and installed under MAMP. I have the same problem, try to deploy and it brings me to that page asking if I’m sure I want to do it…

    What is going on? Is it a known bug? ??

    Why don’t you try with Wp-Supercache instead of W3-Total-Cache, then ?
    Look, here, you’re losing your own time when you don’t even know if that will solve your problem ?!?

    Another option would be to install another wordpress blog in a subfolder of your domain. Create a subfolder by FTP, upload the default wordpress installation files as provided by www.ads-software.com, create a database within your hosting account’s panel, make the new blog use that database, install the blog, let the blog use the default theme.
    From there on, if the new blog is as slow as the “official” blog, then you can blame your host and proceed to moving to another web host.

    Thread Starter svedish

    (@svedish)

    Yeah, you’re right. It may not even be a caching problem.

    Just to make sure I get what you suggest, you mean installing a brand new WP on my server and import the contents of my website into it to test if the problem lies in the current installation? If also this brand new installation is slow probably the problem is the host itself?

    Is this what you mean?

    Thanks!

    Thread Starter svedish

    (@svedish)

    Another quick update (I hope it will at least serve the purpose of helping anyone else out there trying to achieve my same results :).

    I have noticed that W3 Total Cache actually works. The bug seems related more to feedback than anything else. The changes applied to the settings seem to take effect, and instead of clicking on the deploy button close to the Enable / Disable one, one can click on the Deploy button in the top area. Or you can just disable Preview mode and go for it straight away.

    Anyway, now I’ve done like 10 tests in a row with https://www.webpagetest.org and the results are consistent: around 2 seconds for the first visit and 1 second for the second visit, which is not bad at all considering that the previous results, with the plugin turned off, where anything between 4 and 8 seconds for the first visit and 2-4 seconds for the second one.

    I’m doing these tests on another domain with a dummy installation of WordPress to be honest. I have not installed any plugin on my main website yet (the one that was showing problems in the first place). I will proceed to test my “main” website soon. I hope this will solve the loading problems. It may well be a combination of factors of course: the web server may be slow as well, so I guess I’ll try to install it also on a much faster server which a friend will give me access too next week.

    Will post my findings for anyone interested.

    Cheers!

    Just a last note, while I’m here. I must also precise that I’m usually obsessed with that damn frigging enemy of mine : TIME ! I never have enough.

    And in this regard, you’re wasting a LOT of time testing, waiting for replies and all.

    If you belong to the “time is money” school (I regret to say I do), you OUGHT to simply purchase another hosting and test out there your other domain (or else, heck, buy a new domain)

    Purchasing another hosting account for one month, for instance a Baby Croc with Hostgator, would cost only 10$, on a monthly basis that you can cancell any time.

    From there on, if you don’t want to install wordpress yourself, they even have auto-installers.
    Try. Compare.

    And for just ten dollars, the result of one or two hours of work, let’s add 30 minutes since you wouldn’t be familiar with the web host, you would know with 100% certainty (100% !) if your current web host is to blame or not.

    In a time / cost / efficiency point of view, I don’t think it would be a bad idea.
    Just saying ??

    Thread Starter svedish

    (@svedish)

    Hi,

    Thanks for your advice. I guess these tests may serve other websites as well, so it’s possibly not all wasted time, at least I hope. ??

    Anyway I very much agree with you, also the hosting facility needs to be questioned. I have installed W3TC on my main website and will observe changes over the next days / weeks. Also in terms of bounces / pages per visit etc.

    In the meanwhile I have activated a Media Temple account and also an account with a European company that is apparently good. So I will also test the hosting environment. I guess I’ll have some conclusions after this.

    Cheers. ??

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘How can I find the speed bottlemeck in my WP website?’ is closed to new replies.