Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 15 of 15
  1. #1
    Regular Coder
    Join Date
    Jul 2011
    Posts
    101
    Thanks
    7
    Thanked 6 Times in 6 Posts

    Slow Loading Site

    Hey guys,
    I've got a site I'm working on... been reducing file sizes and such to make it load faster, however I still have a pretty big problem.

    If you look at my link here to speed tests: http://gtmetrix.com/reports/t3safety.com/Sl203e4e

    You'll see the first item under timeline is super slow! Any ideas on how to reduce this? It's gotta be a website problem as I've never had any other sites load this slow!

    Thanks guys!

  • #2
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,502
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    It looks like you have some sort of plug-in that optimizes it?
    Try turning that off first.

    Then, remove the part with the image sliders.
    See if that speeds it up. I wonder if it's loading all .jpg images before displaying?

  • #3
    Regular Coder
    Join Date
    Jul 2011
    Posts
    101
    Thanks
    7
    Thanked 6 Times in 6 Posts
    Yea, I added that plugin just recently and it has helped with speed a little. I think your right that it's the sliders part.... I'm gonna try a template w/out it.

  • #4
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,502
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    If it happens to be the slider part,
    put a static image there for now, and then
    let us know what plugin you used ... maybe
    there's a better one.

    Note:
    I've used this one before, but it's Flash:
    http://wordpress.org/extend/plugins/...image-rotator/


    .

  • #5
    Regular Coder
    Join Date
    Jul 2011
    Posts
    101
    Thanks
    7
    Thanked 6 Times in 6 Posts
    The slider I actually hard coded into the theme. It's a jQuery slider.

  • #6
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,174
    Thanks
    19
    Thanked 66 Times in 65 Posts
    Have you checked the code execution time. Looking at the timeline it appears to be similar to a firebug report - you have 8 seconds of 'waiting' before the page was even served.

  • #7
    Regular Coder
    Join Date
    Jul 2011
    Posts
    101
    Thanks
    7
    Thanked 6 Times in 6 Posts
    So is their waiting due to the larger images from the slider? Or what is that exectly?

  • #8
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,502
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    I just noticed something else ...

    I see both of these lines in your header:

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

    <script type='text/javascript' src='http://t3safety.com/wp-includes/js/jquery/jquery.js?ver=1.7.1'></script>


    You're calling two different versions of jquery ... that's not right.

    Make a safe copy of "header.php" where the scripts are loaded.
    First remove the one with ver=1.7.1 and leave the Google one there.
    Try your script.
    Reverse it ... remove the Google one and use the ver=1.7.1

    I suspect the Google one is the best to keep, and change the src to this:
    http://ajax.googleapis.com/ajax/libs.../jquery.min.js




    .
    Last edited by mlseim; 01-30-2012 at 07:35 PM.

  • #9
    Regular Coder
    Join Date
    Jul 2011
    Posts
    101
    Thanks
    7
    Thanked 6 Times in 6 Posts
    Oh, good catch! The first google one I had added to the header, however the other version was a default used by Wordpress. I'm actually not sure why it's being called... but I now have just the one new Google version since it'll be using their CDN network.

    Still a lag though. haha. Should I chalk it up to the fact it's on a shared server?

  • #10
    Regular Coder
    Join Date
    Jul 2011
    Posts
    101
    Thanks
    7
    Thanked 6 Times in 6 Posts
    So I've actually had to revert back to two jQuery sources. The 2nd wordpress one is used in the administration side and features didn't function suddenly. And the google jQuery is the only one that works for this slider :-\

    Regardless, even temporarily having one jQuery didn't really solve the issue...

  • #11
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,502
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    That's fishy.

    I think you said that you totally removed the JQuery slider to test it out?
    When you did that it loaded fast again?

    If you didn't test that, remove it totally (along with the extra jquery.js).
    See if things operate quickly. Let us know.

    The next approach would be to find a proper plugin?

  • #12
    Regular Coder
    Join Date
    Jul 2011
    Posts
    101
    Thanks
    7
    Thanked 6 Times in 6 Posts
    So without any slider: http://t3safety.com/test-2/
    It's still lagging. I also temporarily took out the jQuery in the header. Still slow.

    Any more ideas?

    After looking more, I've got serious latency problem... think this is from the host?

    Last edited by bdbolin; 02-01-2012 at 11:07 PM.

  • #13
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,502
    Thanks
    8
    Thanked 1,089 Times in 1,080 Posts
    I've got another idea for you ...

    If your webhost has "fantastico" or some other auto-install system,
    Create a new directory called "test" and install a whole new WordPress
    site using the default theme.

    See if the other wordpress site loads the same way.

  • #14
    Regular Coder
    Join Date
    Jul 2011
    Posts
    101
    Thanks
    7
    Thanked 6 Times in 6 Posts
    Hmm... I seem to have found a plugin error. Fixed it and I think it's a bit faster. Anyone else seeing anything faster than about 4seconds?

  • #15
    Regular Coder
    Join Date
    Jul 2011
    Posts
    101
    Thanks
    7
    Thanked 6 Times in 6 Posts
    I deactivated all the plugins and changed to the default theme and it was quite snappy. I think it ended up being a cache error with w3c plugin and another plugin.


    -----nvm It is still slow initially loading------
    Last edited by bdbolin; 02-02-2012 at 02:56 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •