1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Site page load time is very high

Discussion in 'HTML & Website Design' started by Vaibhav Bathla, Feb 10, 2014.

  1. #1
    Hi

    I am using wordpress and shared hosting. I analysed my site http://www.rudragems.com on gtmetrix and i am getting A grade on both Page Speed & Yslow but my page load time is over 5 secs. Page size is 213kb and 26 requests. My competitor's site grade is D and page size is over 1mb and 115 requests but their load time is 2 secs. My site is much better optimized but load time is very higher. Can someone tell me what's wrong?

    Regards
    Vaibhav
     
    Vaibhav Bathla, Feb 10, 2014 IP
  2. competent123

    competent123 Notable Member

    Messages:
    1,743
    Likes Received:
    69
    Best Answers:
    6
    Trophy Points:
    255
    #2
    twitter script is taking your time

    specifically the one that shows your follower count

    try to remove this, and then try.
     
    competent123, Feb 10, 2014 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,998
    Best Answers:
    253
    Trophy Points:
    515
    #3
    @competent123 is right in that part of your problem is in the scripting -- but your sizes and filecounts are WAY off; probably due to, take a wild guess: the scripting.

    The Web Developer Toolbar for FF is reporting 496k in 46 files AFTER compression, 793k without, so three to four times how big a page like that should be.

    I'd swing an axe at all the scripting that isn't doing anything useful on the page; I'd start with the stupid "cloadflare loader" garbage that for all it's CLAIMS of making websites faster, usually it does the opposite. When someone suggests throwing more code at something to make it 'faster', your common sense should tingle.

    Then I'd axe the google analytics since any values you can't glean from your server logs using tools like analog or webalizer probably aren't important enough to waste time gathering! I really don't understand why people piss all over their websites with that nonsense apart from ignorance, obsessing over things that don't matter, or the delusion that just because it's from Google it must be good.

    That whole social networking sidebar is a train wreck of slow loading garbage too; and as mentioned is a significant chunk of what's taking so long... BUT:

    You've got six stylesheets loading for **** knows what, though trying to use turdpress for something it isn't (an e-commerce system) is just asking for it to be insecure AND buggy/bloated and slow.

    Of course it's turdpress, so under the hood the markup is atrociously bloated with "inerheritance? What's that?" use of classes, pointless absolute URL's for nothing, redundant title attributes, endless pointless META tags NOTHING real gives a flying purple fish about, HTML 5-tard bloat, pointless jQuery bull, IE conditional comments to sweep developer ineptitude under the rug, and a whole host of other "I can haz intarnets" web development methodologies that are the bread and butter of most every site crapped together with it. Hence the 72k of markup to deliver 4k of plaintext and two dozen content images -- anywhere from six to ten times as much markup as is needed for such a ridiculously simple page. Even worse the six stylesheets totalling 61k is just garbage for a site that the entire thing for just the screen target shouldn't need more than half that (and given how simple the layout, maybe a third?) in a single stylesheet!

    Really with absurdly bloated inept BS code like this:
    <li><p style="font-family:arial;font-size:15px;font-weight:bold">Get to Know Us</p>
    <p style="font-family:arial;font-size:15px;text-decoration:underline"><a href="http://www.rudragems.com/about-us/">About Us</a></p>
    Code (markup):
    Or this:
    <li>
    <a href="http://www.rudragems.com/product/jade-gemstone-bracelet/">
    <img width="1" height="1" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" data-lazy-original="http://www.images.rudragems.com/Media+Library/Jade+Gemstone+Bracelet.jpg" class="attachment-shop_thumbnail wp-post-image" alt="Jade Gemstone Bracelet"/><noscript><img width="1" height="1" src="http://www.images.rudragems.com/Media+Library/Jade+Gemstone+Bracelet.jpg" class="attachment-shop_thumbnail wp-post-image" alt="Jade Gemstone Bracelet"/></noscript> Jade Gemstone Bracelet
    </a> <span class="amount">Rs.599</span>
    </li>
    Code (markup):
    Or this:
    <ul id="topnav" class="sf-menu"><li id="menu-item-95" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-95"><a title="Home" href="http://www.rudragems.com">Home</a></li>
    <li id="menu-item-682" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-682"><a title="About Us" href="http://www.rudragems.com/about-us/">About Us</a></li>
    Code (markup):
    There's no way in HELL I'd ever have deployed such a site; It needs a good toss and starting over from scratch. If you don't know what's wrong with those, do yourself a favor and hire someone who does!

    It needs some cleanup for semantic markup and minimalism, to back the **** away from the endless pointless garbage scripting, and some responsive layout wouldn't hurt either given how miserably the layout falls apart at < 1280 in width.
     
    deathshadow, Feb 10, 2014 IP
    malky66 likes this.