Javascript Can Wreck Havoc With Blogs
Posted by Mitch on Nov 23, 2008
Over the last bunch of days, sometimes my blog has been very slow to access. I wasn’t sure what it was, though, so I started doing some testing, and it seems that the lethargy has been tracked down to incompatibility of javascript created items that I’ve been adding to my blog.
|
|
Of course, we all have a lot of javascript things on our blogs if we’re monetizing them. Adsense is a javascript program. Widget Bucks is a javascript program. Chitika is a javascript program. I’ve had Adsense almost forever, and my blog never ran this slow. I’m not sure about either Widget Bucks or Chitika. I had two other minor things on my blog, both from Grader.com, and I took those off because each one was a javascript program.
Not that talking about javascript slowing down blogs is new. A blog post that probably didn’t get the attention it deserved comes from Alex Iskold’s Techonology blog, where he wrote a post titled How Javascript Is Slowing Down The Web. In it, he talks about the problems that can occur when multiple “single” lines of javascript code come together from varying sources. He talks about how javascript performs things sequentially and not concurrently, and that anytime a piece of JavaScript is being loaded or evaluated, everything else has to wait.
Now, supposedly there’s things that can be done for different browsers, but none of those things are absolutes. That, plus it’s very technical stuff; most of us regular folks won’t understand it, let alone what to do with it. However, something I’m speculating is that when there’s two javascript programs next to each other, that’s when things have an opportunity to fail, even if the same company created both programs. When I first removed the Widget Bucks affiliate banner that was sitting next to their skyboard banner, this blog was running much faster. Since then, though, it seems to go up and down. Frankly, I’m not really sure what to do next, other than removing all javascript programs, and that’s not about to happen. It’s possible that it’s related to either the LinkXL or Kontera ads that have recently started running on this blog also; I’m just not really sure.
Luckily, the slowdown time is infrequent, so I hope it doesn’t overly disturb anyone. However, if it starts bothering me often enough, I’m going to start moving things around some more, trying to make sure there’s some kind of distance between all the javascript that’s going on. At least the Daily Puppy widget isn’t javascript; aren’t they cute? Anyway, Chris Pirillo of Lockergnome talks about how javascript works in web browsers, so I’m sharing that here; enjoy!
I'm Just Sharing is where I share my thoughts on internet marketing, writing, blogging and many other things. You never know what I'll be posting on. So keep coming back, read, enjoy, and buy! ;)





Sire´s last blog post..Plugins Make WordPress So Versatile
Reply
Mitch Reply:
November 24th, 2008 at 10:04 AM
Reply
I haven’t been able to open your blog in IE6 for a few days, but could in Firefox. It works now in IE6, so I’m guessing it was the same thing. I hesitate to admit that I still use IE6 on my main computer. I hate upgrading but I think I’ll install Firefox on it since IE6 is having issues with more and more websites…
Steve, aka the IE6 trade show guru
Trade Show Guru´s last blog post..Five Keys to Marketing Success
Reply
Mitch Reply:
November 24th, 2008 at 10:02 AM
I won’t pick on you for not having Firefox, but I might pick on you for not upgrading to IE7. Your version has lots of holes where hackers could get into your computer if you’re using it all the time. Just thought I’d let you know.
Reply
In the past when I mentioned to websites or blogs that I’m still using IE6 and having problems with their site, the response always seems to be “what kind of caveman/idiot still uses IE6″ so I stopped commenting. I just hate upgrading software since I often run into problems (if it ain’t broke, don’t fix it). I’m going to install Firefox on my main computer though because I’ve heard of some cool plugins I want to try. Thanks for mentioning the security risk. I had no idea. I suppose I’ve been lucky, but I don’t want to have to count on that continuing…
Steve, aka the soon-to-be Firefox trade show guru
Trade Show Guru´s last blog post..Five Keys to Marketing Success
Reply
Mitch Reply:
November 24th, 2008 at 11:49 AM
Reply
You have a ton of 3rd party ads and icons. Perhaps one of them wants to load before your webpage loads and if the 3rd part connection is slow, it will slow your site.
When I have AdBlock Plus enabled your site loads much faster.
John Lessnau´s last blog post..Twitter Tweets about Content is King as of November 24, 2008
Reply
Mitch Reply:
November 24th, 2008 at 11:47 AM
Reply
John Lessnau´s last blog post..Twitter Tweets about LinkBait as of November 24, 2008
Reply
Dennis Edell´s last blog post..2 NEW BLOGS Unveiled! FINALLY!!
Reply
Mitch Reply:
November 24th, 2008 at 3:09 PM
Reply
Dennis Edell Reply:
November 24th, 2008 at 3:48 PM
Dennis Edell´s last blog post..2 NEW BLOGS Unveiled! FINALLY!!
Reply
Mitch Reply:
November 24th, 2008 at 7:48 PM
Reply
Even takes the adwords out of google search results.
John Lessnau´s last blog post..Twitter Tweets about Web 2.0 as of November 24, 2008
Reply
Mitch Reply:
November 24th, 2008 at 3:07 PM
Reply
Ad block is not a popup blocker. You may want to check your Firefox pop up blocking settings.
Yeah I hate those floating “subscribe to this website ads” If they are being served externally you could do a special filter for it.
John Lessnau´s last blog post..Twitter Tweets about bailout as of November 24, 2008
Reply
Mitch Reply:
November 24th, 2008 at 7:46 PM
And, to tell you the truth, I use Adblock for very sites after I’ve visited them, but CNN is one that I have to keep it on for.
Reply
Or you could place them in iframes so they load independently of your main page. (I believe adsense does the iframe thing.)
I’m no expert on this though.
John Lessnau´s last blog post..Twitter Tweets about stock market as of November 24, 2008
Reply
Mitch Reply:
November 24th, 2008 at 8:28 PM
Reply
Sometimes I do have this problem too whenever I load a new widget. Also I noticed IE behaves very differently from FF (that’s why I seldom use it) especially with loading pictures. Sometimes it messes things up and I have to reduce the size just so it shows up in IE. Currently I’m having some problem possibly with my ISP, not blog. My blog’s logo and banner ads (only those hosted by me)are not showing). Could you do me a favor. Go to my blog and see if you are able to view the logo and banner ads.
Thanks Mitch
Peter Lee
work at home ideas´s last blog post..Discover 10 Wordpress Plugins That Make Readers Repeat Visitors
Reply
Mitch Reply:
November 25th, 2008 at 1:03 AM
As for me, I’ve just added one of my Widget Bucks things again, putting it into its own “widget”, so to speak, and it seems to be working just fine now. At least, it’s working fine for me.
Reply
Sire Reply:
November 27th, 2008 at 12:54 AM
Sire´s last blog post..Bloggers, Overworked And Underpaid
Reply
Mitch Reply:
November 27th, 2008 at 1:45 AM
Reply
Yan
Reply
Mitch Reply:
November 25th, 2008 at 9:39 AM
Reply
Peter Lee
work at home ideas´s last blog post..How “Work From Home Ideas” Made Google Top 10
Reply
The Smiling Blogger Reply:
November 25th, 2008 at 7:15 AM
Yan
Reply
Mitch Reply:
November 25th, 2008 at 9:45 AM
Reply