SitePoint Sponsor

User Tag List

Results 1 to 16 of 16
  1. #1
    SitePoint Wizard
    Join Date
    Oct 2004
    Location
    Newport Beach
    Posts
    1,760
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Google Page Speed Says Facebook JS All Over My Page (What/Where?)

    I did a Page Speed test with the Google tool and it said these were pretty big offenders on my home page:

    http://static.ak.fbcdn.net/rsrc.php/...B-e2tX_mUXZ.js (424.9KiB)
    http://static.ak.fbcdn.net/rsrc.php/...7agoFi7Kkf2.js (52.4KiB)
    http://static.ak.fbcdn.net/rsrc.php/...o-SMqcM-yBS.js (49.3KiB)
    http://static.ak.fbcdn.net/rsrc.php/...vlW00WMUEIl.js (26KiB)
    http://static.ak.fbcdn.net/rsrc.php/...Niokgzcm4uf.js (12KiB)

    Ummm, what? Where did these come from? I've looked through my page source and these do not exist, so how does Google claim to see these when judging our Home Page's page speed?

    All feedback appreciated.

    Cheers
    Ryan
    Upcoming Movies - Movie News. Updated Daily.
    Movie Trailers - Awesome trailer site. Nuff said.

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,114
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Do you have any iframes on your page, or things like FaceBook "Like" buttons? These things pull in iframes full of large volumes of JavaScript and other junk.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    As Ralph said, those fbcdn URLs are facebooks and if you have any facebook specific code you've ogtten from them, it's almost certain that's the culprit.

    If you give us the link to the page we can tell you for certain .
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  4. #4
    SitePoint Wizard
    Join Date
    Oct 2004
    Location
    Newport Beach
    Posts
    1,760
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can't see anything in source code, but might have to digg through iframe info :

    http://www.traileraddict.com/
    Upcoming Movies - Movie News. Updated Daily.
    Movie Trailers - Awesome trailer site. Nuff said.

  5. #5
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,114
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    You have a Facebook Like button, and probably other thngs too. The Like button code pulls in an iframe and a whole bunch of other stuff. That's what you get with buttons like this. You either just don't have them, or accept all the messy stuff they pull in.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  6. #6
    SitePoint Wizard
    Join Date
    Oct 2004
    Location
    Newport Beach
    Posts
    1,760
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have a facebook like button on the home page? Google was claiming that the javascript was found on my home page.
    Upcoming Movies - Movie News. Updated Daily.
    Movie Trailers - Awesome trailer site. Nuff said.

  7. #7
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,114
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by casbboy View Post
    I have a facebook like button on the home page? Google was claiming that the javascript was found on my home page.
    There's a Like button in your footer.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  8. #8
    SitePoint Wizard
    Join Date
    Oct 2004
    Location
    Newport Beach
    Posts
    1,760
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh crap! I forgot about that. It hides permanently after hiding it once and I forgot it existed. Dang it. That single footer button costs 500Kb of bandwidth. what the heck. No wonder all my pages have 17 second page loads. I might have to do something about that.
    Upcoming Movies - Movie News. Updated Daily.
    Movie Trailers - Awesome trailer site. Nuff said.

  9. #9
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,114
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by casbboy View Post
    Oh crap! I forgot about that. It hides permanently after hiding it once and I forgot it existed. Dang it. That single footer button costs 500Kb of bandwidth. what the heck. No wonder all my pages have 17 second page loads. I might have to do something about that.
    You have other iframes being pulled onto the page, like on the top ad block. They also are packed with many js and css files. I avoid all that kind of stuff, but I guess if you need it, there's no way around it.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  10. #10
    SitePoint Wizard
    Join Date
    Oct 2004
    Location
    Newport Beach
    Posts
    1,760
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Considering we spend up to $30K/mo for hosting and other operating expenses, we definitely need the advertisements.
    Upcoming Movies - Movie News. Updated Daily.
    Movie Trailers - Awesome trailer site. Nuff said.

  11. #11
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,114
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by casbboy View Post
    Considering we spend up to $30K/mo for hosting and other operating expenses ...
    Ouch! Do you find the advertising brings a decent income? I don't have much idea how useful it really is, but it sounds like it's helping you pay the bills to some degree.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  12. #12
    SitePoint Wizard
    Join Date
    Oct 2004
    Location
    Newport Beach
    Posts
    1,760
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah. We do about 1M page views per day. The tricky part is that we don't run pre-rolls, but I got a great Ad Chain setup (having a perfectly configured ad chain is more important than having one good tier 1 network) and it has been performing nicely. I think we have 6 networks on it, with bottom remnant filling a big chunk at guaranteed $.25 eCPM and the rest becoming revenue share.
    Upcoming Movies - Movie News. Updated Daily.
    Movie Trailers - Awesome trailer site. Nuff said.

  13. #13
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,114
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Wow, sounds complicated! Interesting, though.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  14. #14
    Mouse catcher silver trophy Stevie D's Avatar
    Join Date
    Mar 2006
    Location
    Yorkshire, UK
    Posts
    5,881
    Mentioned
    122 Post(s)
    Tagged
    1 Thread(s)
    It's easy to forget just how much drag these widgets can add to a page. Frequently I find pages hanging before they've finished loading because they're waiting for something or other (often a script but sometimes an image) from Google Analytics, Facebook, Twitter or any one of a hundred other social networking, tracking or advertising services. It doesn't reflect well on a site when I want to use it and am being hindered by these extraneous and – to most visitors – completely worthless widgets.

    At one point it got so bad that I blocked all requests to Google Analytics ... nothing to do with privacy concerns, I was just so fed up with the latency that it introduced.

  15. #15
    SitePoint Wizard
    Join Date
    Oct 2004
    Location
    Newport Beach
    Posts
    1,760
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, so true. I have my share buttons load from the bottom of my html on content pages, so everything else can load first. When it comes to Google Analytics, the new codes for that are asynchronous, so should never stall anymore.
    Upcoming Movies - Movie News. Updated Daily.
    Movie Trailers - Awesome trailer site. Nuff said.

  16. #16
    SitePoint Member
    Join Date
    Apr 2012
    Location
    India
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Web page speed at https://developers.google.com/pagespeed/

    Can you check your home page speed at https://developers.google.com/pagespeed/? I have checked your home page. I can not see any error. Your page speed is 58.


Bookmarks

Posting Permissions

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