Page load times are slow

Discussion in 'Site Feedback/Bugs' started by Steve R, Apr 30, 2012.

  1. Jenny namaste

    Jenny namaste Total Gardener

    Joined:
    Mar 11, 2012
    Messages:
    18,580
    Gender:
    Female
    Occupation:
    retired- blissfully retired......
    Location:
    Battle, East Sussex
    Ratings:
    +32,566
    It's pretty amazing this morning. I think it's an early bird as opposed to a night owl. Like me.
     
  2. Kristen

    Kristen Under gardener

    Joined:
    Jul 22, 2006
    Messages:
    17,534
    Gender:
    Male
    Location:
    Suffolk, UK
    Ratings:
    +12,669
    Might be an advert? If a script for, say, Google Analytics they advise putting it at bottom of page so that any early (site support) scripts are not impacted

    ... later ... I looked at the source:

    <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>

    probably not a good location to link to (and it is linked in twice, although that doesn't matter it might cause a second round-trip to remote server to check validity of the link etc). Some smilies are offsite too:

    src='http://flagsforworship.co.uk/jo-pic/images/snorkjwj.gif'

    which probably slows thing down, and might annoy the hosting site
     
  3. RichardRobins

    RichardRobins Guest

    Ratings:
    +0
    We use the jquery cdn due to our vps was lagging badly when using local jquery due to our vps still is a tight fit for the amount of daily guest traffic

    As for that smiley that's jo's/ Daisy's website
     
  4. Kristen

    Kristen Under gardener

    Joined:
    Jul 22, 2006
    Messages:
    17,534
    Gender:
    Male
    Location:
    Suffolk, UK
    Ratings:
    +12,669
    Sorry, meant to clarify that I thought that the JQuery site didn't like direct linking, and the preferred route was to use Google's Code site? (Happy to be corrected on that if I have that wrong though)

    I find when I click on the Emoticon's drop-down on the WYSIWYG editor there is a considerable delay whilst it shuffles them around for display. I'm surprised as I would have expected them to be cached locally here, and thus for it to be a non-issue. Dunno if the fact that some are hosted off-site is contributory. When I have a moment I'll look at the NETWORK tab in Chrome Debugger to see if it is obvious where the delay stems from. (I have same effect on multiple machines here, but all running Chrome, dunno if it is just me though ...)

    Separate note: browser likely to only use a couple of concurrent channels per specific domain/sub-domain, so it can actually be beneficial to have some files off-site, or on a separate sub-domain ... provided that they have as good an up-time performance as the hosting site (and of course if the main site is up, and a secondary site down, then that mucks things up in unpredictable ways ... "perm one-from-N" I suppose !!)
     
    • Like Like x 1
    • shiney

      shiney President, Grumpy Old Men's Club Staff Member

      Joined:
      Jul 3, 2006
      Messages:
      64,867
      Gender:
      Male
      Occupation:
      Retired - Last Century!!!
      Location:
      Herts/Essex border. Zone 8b
      Ratings:
      +127,034
      I wish I understood this foreign language :scratch:
       
    • Jenny namaste

      Jenny namaste Total Gardener

      Joined:
      Mar 11, 2012
      Messages:
      18,580
      Gender:
      Female
      Occupation:
      retired- blissfully retired......
      Location:
      Battle, East Sussex
      Ratings:
      +32,566
      Cor, I wish I was clever like you Brian Kristen, :love30:
       
      • Like Like x 1
      • clueless1

        clueless1 member... yep, that's what I am:)

        Joined:
        Jan 8, 2008
        Messages:
        17,778
        Gender:
        Male
        Location:
        Here
        Ratings:
        +19,598
        I think Kristen may have indirectly hit the nail on the head, on a couple of points.

        1. I think I saw mention that the GC is using jQuery 1.5. I know the site does lots of ajax. There is a known memory leak in jQuery's implementation of ajax, that was fixed in version 1.7. At work we were pulling our hair out trying to diagnose random go-slows in our app until we spotted the jQuery bug.

        2. I agree with Kristen, if jQuery is going to be served from another domain (which has pros and cons) then I'd get it from google. Technically there's always a bit of risk when you put your trust in a third party for your app, but if that's the plan, the google is a safe bet, just because lets face it, not many companies can match google's infrastructure.

        3. When you see the smileys loading, that will affect browser performance (and likely be a memory leak). The trick is to build up the HTML in full before injecting it into a div on the page. Then its only one 'redraw' for the browser to do. By appending each item as it comes down, its many redraws, which is not only slow, but is likely to leak memory.

        Of course, being a 3rd party forum app, I'm not sure how much control our most excellent webmasters have over these points, but its stuff to look at I guess.
         
        • Like Like x 1
        • clueless1

          clueless1 member... yep, that's what I am:)

          Joined:
          Jan 8, 2008
          Messages:
          17,778
          Gender:
          Male
          Location:
          Here
          Ratings:
          +19,598
          Just had a proper slow down and managed to catch it in the network tab. The perpetrators were Facebook and Twitter. Facebook's 'like' plugin (like.php) took a whole 3 seconds to come down. Several items for Twitter took about 3 seconds in total.

          Do we need Facebook and Twitter plugins?
           
        • Kristen

          Kristen Under gardener

          Joined:
          Jul 22, 2006
          Messages:
          17,534
          Gender:
          Male
          Location:
          Suffolk, UK
          Ratings:
          +12,669
          Based on the amount of money that our clients spend trying to attract that sort of traffic, and how few they actually get, I would say a resounding no !
           
          • Like Like x 1
          • Gay Gardener

            Gay Gardener Total Gardener

            Joined:
            Nov 16, 2011
            Messages:
            1,258
            Gender:
            Male
            Location:
            The Wash, Fens
            Ratings:
            +1,978
            Not been affected by this until today. Hanging badly and reminescent of the 'page building' feeling of a 56k modem. Ah the good old days ...

            All other sites fine.
             
          • Sheal

            Sheal Total Gardener

            Joined:
            Feb 2, 2011
            Messages:
            36,358
            Gender:
            Female
            Location:
            Dingwall, Ross-shire
            Ratings:
            +55,342
            Having done a complete 'clean up' of my laptop computer weekend before last, things improved, but yesterday and today it's on the go slow again, very slow, particularly here on GC. I've plugged directly into the router that seemed to help, which suggests it's a wireless problem with my computer, but can't be certain. Question is.....is there anything else I can try to prove the point?

            My husband hasn't got these issues with his laptop, so would it be worth my while using his computer for two or three evenings, or wouldn't it make a difference? Any help appreciated please. :)
             
          • Kristen

            Kristen Under gardener

            Joined:
            Jul 22, 2006
            Messages:
            17,534
            Gender:
            Male
            Location:
            Suffolk, UK
            Ratings:
            +12,669
            If you try his computer for a few evenings, and its definitely faster, then the problem is with your computer.

            If his computer is no faster it doesn't tell you anything though (either both your computers are slow running GC, your internet connection is slow to GC, some other issue between you and GC ... OR ... GC itself is slow for everyone - but no easy/repeatable way of telling which of those scenarios it is).

            So the only conclusive outcome is if Hubby's computer is FAST ... if that's the case he needs to buy you a new one for your birthday :) - let's hope its soon!
             
          • Jack McHammocklashing

            Jack McHammocklashing Sludgemariner

            Joined:
            May 29, 2011
            Messages:
            4,436
            Gender:
            Male
            Occupation:
            Ex Civil Serpent
            Location:
            Fife Scotland
            Ratings:
            +7,429
            My ping times to the server are milli seconds, and return
            Tracert very quick and minimal jumps
            Access to the server itself is dire, if more than five people are logged on then it is multiple retries, to access a forum if it is in current discussion

            If you visit a current discussion forum and get on then if you come out of it, the chances of getting back on are almost nil, unless you wait ten minutes and try again, but instant return is a no no

            Jack McH
             
          • Phil A

            Phil A Guest

            Ratings:
            +0
            I'm copying this thread to the office to make sure its being taken notice of.
             
          • Sheal

            Sheal Total Gardener

            Joined:
            Feb 2, 2011
            Messages:
            36,358
            Gender:
            Female
            Location:
            Dingwall, Ross-shire
            Ratings:
            +55,342
            Thanks Kristen, there are no speed issues with my hubby's computer, so I'll give it a try. My birthday is soon, but no chance of that, no income at the moment. :)
             
          Loading...

          Share This Page

          1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
            By continuing to use this site, you are consenting to our use of cookies.
            Dismiss Notice