MSDN Low Bandwidth Bookmarklet - Jon Galloway

MSDN Low Bandwidth Bookmarklet

There’s a semi-hidden feature in the MSDN Library website: Low Bandwidth view. We’ll talk about how to use it, why I like it, and some tips for switching it on and off. We’ll end up with an MSDN Low Band bookmarklet I whipped up to make it even easier.

The Low Bandwidth view has been available for a few months, but you wouldn’t know about it unless someone told you, since the only way to turn it on is to monkey with the URL. Try it - browse to:

http://msdn.microsoft.com/en-us/library/system.object.aspx

MSDN-HighBand

Now we’ll add the magic word: “(loband)” right before the “.aspx” at the end:

http://msdn.microsoft.com/en-us/library/system.object(loband).aspx

MSDN-LoBand

Magic!!!

Why LoBand is High Value

Simpler Layout

The obvious difference is that it replaces the navigation treeview on the left with a simple link. There are other subtle differences – simpler layout, fewer superfluous images. Higher signal to noise in my book.

Smaller Page Weight

The High Bandwidth version of this page weighs in at 100KB of HTML, but 400KB total by the time all the images, javascript, and CSS are loaded. Compare that with 66KB HTML / 70 KB total for the low bandwidth version. In this case (which is pretty representative) the low bandwidth version slimmed the page weight by 82.5%.

Faster Page Load

I’m not just talking about the smaller HTML here. The navigation tree on the left contains tons of nested unordered lists (ul>li>ul>li etc.). It’s actually a big improvement over the former HTML for that treeview, which (if I remember correctly) included a bunch of horrible nested tables with inline styles and javacript attributes. The new treeview uses a Telerik control, and outputs relatively clean HTML. Still, that treeview takes a while to load up – on my relatively quick development machine (with a very fast internet connection), the low band page loads twice as quickly – most of the time is spend in rendering the page. I’m not talking about milliseconds of difference here, I’m talking about 1 second load / draw time for low band vs. 4 second load / draw time for high band.

Who Cares?

Well, if you’re a Microsoft developer, you spend a lot of time on MSDN. There’s the time saver factor, sure, but more important is that fast load times removes the barrier to exploring the site.

Getting To The LoBand

The simplest way is to just add that (loband) bit before the .aspx file extension. If you’re on a page which already has one of those funky filters in the URL (like this: http://msdn.microsoft.com/en-us/library/cc189009(VS.95).aspx) you can just add a comma and put it in afterwards: http://msdn.microsoft.com/en-us/library/cc189009(VS.95,loband).aspx

When you switch to low bandwidth view by tweaking the URL, you  get a a “persist low bandwidth view” link at the top, which is nice. Clicking that link sets a cookie, so all MSDN you visit will be in low bandwidth view. That sounds great, but I find there are times where the low bandwidth is too low. Some pages (especially articles) are hard to read, and when learning a new object model the navigation tree is helpful. In that case, there’s a link at the top (where the “persist low bandwidth view” link used to be, before we clicked it) which unsets the cookie and returns us to the normal, high bandwidth view.

That all works, and I’ve used it since I heard about the low bandwidth view a few months ago. Still, it gets old – especially editing the URL the loband bit every time I’ve removed it.

Enter The Bookmarklet

Bookmarklets are great – they’re short Javascript functions that you bookmark, so you can run the Javascript on any page by opening the bookmark. They’re kind of like tiny Firefox addons. You can read more about bookmarklets, of course, on Wikipedia.

Well, after messing with that MSDN URL enough times, I figured it was time for a bookmarklet. So here it is: MSDN Low Band

It’s just a simple toggle – when you’re in the normal view, clicking the bookmarklet will switch you to Low Bandwidth view. Clicking it again will return you back to the normal view again. In Firefox / Opera / Safari, you can just drag that peachy colored button to your Links toolbar. In Internet Explorer, you’ll need to right click the link and select “Add To Favorites”, making sure to save to the Links favorite folder. I’ve tested it in IE, Firefox, and Safari.

The Delicious.com Bookmarklet installation help page has some nice screenshots and more information on installing Bookmarklets. If you’re interested in writing your own bookmarklets, I recommend you use a web based Bookmarklet helper page to simplify the grunt work, like this one.

So How Does It Work?

It’s really simple. At first I messed with the URL, but then I figured out that it was simpler to just modify the cookie and reload the page. Here’s the code, formatted so it’s easier to read:

javascript:
if(document.cookie.indexOf('LoBandEnabled=yes')<0){
  document.cookie='LoBandEnabled=yes;path=/;domain=.microsoft.com;%20expires=Wed,%2001-Aug-2040%2008:00:00%20GMT';
}
else{
  document.cookie='LoBandEnabled=no;path=/;domain=.microsoft.com;%20expires=Wed,%2001-Aug-2040%2008:00:00%20GMT';
}
window.location.reload();
Published Saturday, August 30, 2008 2:31 AM by Jon Galloway

Comments

# MSDN Low Bandwidth Bookmarklet

You've been kicked (a good thing) - Trackback from DotNetKicks.com

Saturday, August 30, 2008 7:17 AM by DotNetKicks.com

# re: MSDN Low Bandwidth Bookmarklet

Wow, this is a really great tip! The regular MSDN site is frustratingly slow, so I'm on the low bandwith view only from now :)

Saturday, August 30, 2008 7:18 AM by henningst

# re: MSDN Low Bandwidth Bookmarklet

Awesome! Thanks for the tip.

Saturday, August 30, 2008 12:14 PM by John Richardson

# re: MSDN Low Bandwidth Bookmarklet

Hi Jon,

The MSDN lo-bandwidth version of the library is in the experimental phase right now. The first phase of this effort was to find the lowest fidelity version of the library that remained useful and measure the performance of the pages from various places across the world where bandwidth is severely constrained to improve our content delivery. The current default MSDN library is feature packed and we realize that a more performant version is desired by developers. We fell that design is in the “middle” of the loband and the current library. You pointed out that features and fidelity are desired in many contexts, but that there are times when the productivity of getting to the content is paramount. We get it and are working on it.

There are a couple things in your post that I want to clarify…

*-- Since April of this year, we have been aggressively working with CDN (caching network/providers) and have moved a significant portion of the MSDN library to cache so that after that initial visit to the page, the refresh and subsequent visits are highly performant.

*-- Thanks for noticing the improvements to the treeview. Yes we have been working over the last couple months to be more uniform and compliant in our XHTML (the format we store our documents in SQL Server) and how we render out the pages. Even more improvements are coming September and October.

*-- We use Telerik for the editor that we embedded into the pages for the Community Content sections of the page. Telerik is not used for the treeview, that is homegrown.

In summary we will be making changes to the library and things will change with the way in which loband is organized and navigated to improve the productivity of the pages even more. The key thing is that loband is just that, designed and optimized for severely constrained bandwidth situations. The feedback and reactions to how we are improving the library is driving towards a design that better balances the performance and features.

I look forward to your feedback.

Larry W Jordan Jr - Product Unit Manager for the MSDN and TechNet Infrastructure and Services Team

Saturday, August 30, 2008 1:16 PM by Larry W Jordan Jr

# MSDN Low Bandwidth View

MSDN Low Bandwidth View

Saturday, August 30, 2008 2:00 PM by Rich Text

# re: MSDN Low Bandwidth Bookmarklet

That really is so much quicker to browse, will definatley use from now on.

Thanks!

Saturday, August 30, 2008 2:41 PM by Granville Barnett

# re: MSDN Low Bandwidth Bookmarklet

Dude that's fantastic. Can you make it a greasemonkey script?

Saturday, August 30, 2008 9:02 PM by Nathan Strutz

# re: MSDN Low Bandwidth Bookmarklet

But Jon... CodingHorror just told everyone that document.cookie is evil!  

Sunday, August 31, 2008 12:07 AM by Steve Smith

# MSDN Low Bandwidth view

I picked up the blog entry by Jon Galloway - and it really is worth sharing. For us souls living in bandwidth

Monday, September 01, 2008 6:48 AM by Ahmed Salijee

# re: MSDN Low Bandwidth Bookmarklet

If only it didn't take away the language filter...  The page is cleaner, nicer to look at, and filled with irrelevant information.  Nuts.

Thursday, September 04, 2008 12:31 PM by Brian Dukes

# re: MSDN Low Bandwidth Bookmarklet

Nice Post Jon,

Thx 4 the info,

Catto

Saturday, September 06, 2008 7:05 AM by Catto

# re: MSDN Low Bandwidth Bookmarklet

Nice Post Jon,

Thx 4 the info,

Catto

Saturday, September 06, 2008 7:05 AM by Catto

# re: MSDN Low Bandwidth Bookmarklet

Thanks, That makes using msdn a lot less unpleasant. Here's hoping they'll put arguments and return types on the members page next.

Monday, September 08, 2008 4:45 AM by David Wilcock

# re: MSDN Low Bandwidth Bookmarklet

This is awesome! I love fast sites. I think it might be interesting for MS to do a "trial" where part of the site is changed to low bandwidth, and the admins could see how it performed (hits/other metrics).

Wednesday, September 10, 2008 11:47 PM by Sam

# WiredPrairie - A &quot;low bandwidth&quot; mode for MSDN?

Pingback from  WiredPrairie -   A &quot;low bandwidth&quot; mode for MSDN?

Friday, September 12, 2008 11:56 PM by WiredPrairie - A "low bandwidth" mode for MSDN?

# re: MSDN Low Bandwidth Bookmarklet

I have a # of auto-transcoders that I made and sometimes use on my mobile (all of this similar pattern) Example:

PhonifierTR:

javascript:-1,location.href='phonifier.com/phonify.php'+encodeURIComponent(location.href);

How do I adapt/add to the javascript: I already have to make them toggle like yours?

Monday, September 22, 2008 7:51 AM by ndsm

# 5 Ways to Get More Out of Your MSDN and TechNet Library Experience

The online libraries on MSDN and TechNet are among the most used sites on our network. Here's some great

Thursday, October 02, 2008 3:16 PM by John Martin's Blog

# Gyors online MSDN

Az msdn online olvasgatása mindig is egy felettébb frusztráló élmény. Sokat akar nyújtani, ezért 400

Sunday, November 09, 2008 1:12 PM by Hírcsatorna

# One of the best tips for browsing msdn…

I like MSDN I really do but when you want to increase the font size the thing just breaks and looks awful

Thursday, January 15, 2009 8:26 PM by Granville Barnett

# One of the best tips for browsing msdn…

I like MSDN I really do but when you want to increase the font size the thing just breaks and looks awful

Thursday, January 15, 2009 8:41 PM by Community Blogs

# MSDN Low Bandwidth View

MSDN Low Bandwidth View

Saturday, February 07, 2009 10:40 PM by Rich Text

# MSDN Tips and Tricks: Loband and T to toggle TOC

Tired of MSDN pages taking too long to load? You can now take advantage of a new feature in the MSDN

Wednesday, March 04, 2009 6:27 PM by Windows Driver Kit (WDK) Documentation Blog

# Tune Up Your PC &raquo; Post Topic &raquo; MSDN Tips and Tricks: Loband and T to toggle TOC

Pingback from  Tune Up Your PC  &raquo; Post Topic   &raquo; MSDN Tips and Tricks: Loband and T to toggle TOC

# re: MSDN Low Bandwidth Bookmarklet

Interessante Informationen.

Thursday, March 05, 2009 4:33 AM by ...

# re: MSDN Low Bandwidth Bookmarklet

I was told about this feature just today and I am glad that you already published this utility bookmarklet. Very handy.

Good explanation too.

For me, it is really about screen usage. With the sidebar and the navbar, a large part of the screen is wasted on administrative (non-content) stuff.

Friday, March 13, 2009 3:21 PM by Julien Couvreur

# re: MSDN Low Bandwidth Bookmarklet

You're so fired. The MS marketing team will not be amused.

Wednesday, March 18, 2009 9:28 AM by Sharkey

# Launching low bandwidth (loband) Beta for long haul!

The Library Experience (LEX) team is proud to announce the release of low bandwidth (loband) Beta! Please

Thursday, March 26, 2009 3:28 AM by Inside MSDN and TechNet

# infoblog &raquo; Launching low bandwidth (loband) Beta for long haul!

Pingback from  infoblog &raquo; Launching low bandwidth (loband) Beta for long haul!

# MSDN Low Bandwidth Bookmarklet - Jon Galloway

Thank you for submitting this cool story - Trackback from DotNetShoutout

Thursday, April 02, 2009 8:33 AM by DotNetShoutout

# MSDN Library Low Bandwidth Option

While chatting with Tim Ewald last week at Devweek we got onto the topic of “ways to improve the MSDN

Thursday, April 02, 2009 11:04 AM by IUpdateable from Eric Nelson

# MSDN Low Bandwidth View - I can&#8217;t remember where I read it&#8230;.

Pingback from  MSDN Low Bandwidth View - I can&#8217;t remember where I read it&#8230;.

# re: MSDN Low Bandwidth Bookmarklet

In I.E.8 you can right click the favorite and select 'Add to Favorites Bar' and there it is as a toolbar option.

Nice post, never knew about bookmarklet or low bandwidth MSDN.

Thursday, April 09, 2009 4:01 PM by Derek Smyth

# Codenauts &raquo; Lo Band MSDN

Pingback from  Codenauts &raquo; Lo Band MSDN

Wednesday, April 15, 2009 8:48 PM by Codenauts » Lo Band MSDN

# re: MSDN Low Bandwidth Bookmarklet

Oh my god, a usable MSDN? Larry, why would we ever want anything "in between"? Just give us the lo-band version, and make it searchable from Google. Problem solved. I guess adding a language filter would be useful for some (I don't mind, but it seems others do).

Please, don't give us *another* overengineered attempt at doing everything in the usual unusable way. The lo-band version actually *works*. I'm sorry to say, I really haven't noticed any kind of speedup on MSDN in recent months. Perhaps I just browse the wrong areas of the site.

I don't get why you're talking about "bandwidth" though. I'm on a 20mbit connection, and regular MSDN is *still* painfully slow, to the order of a minute or so on some pages. Bandwidth is not the issue. MSDN is.

Thursday, April 16, 2009 10:17 AM by jalf

# Overwhelming Software World &laquo; matt greer&#8217;s blog

Pingback from  Overwhelming Software World &laquo;  matt greer&#8217;s blog

Friday, April 17, 2009 3:29 AM by Overwhelming Software World « matt greer’s blog

# [VSTS2010] MSDN para Team System 2010 en marcha (como el huevo y la gallina, que es primero la ayuda o el contenido?)

Buenas, hace unos días Francisco comentaba las nuevas capacidades que se han incorporado desde hace un

Sunday, April 19, 2009 2:17 PM by El Bruno

# [VSTS2010] MSDN para Team System 2010 en marcha (como el huevo y la gallina, que es primero la ayuda o el contenido?)

Buenas, hace unos d&iacute;as Francisco comentaba las nuevas capacidades que se han incorporado desde

Sunday, April 19, 2009 2:32 PM by El Bruno

# Microsoft MSDN Goes Loband | EcoSilly

Pingback from  Microsoft MSDN Goes Loband | EcoSilly

Tuesday, April 21, 2009 10:14 AM by Microsoft MSDN Goes Loband | EcoSilly

# Microsoft MSDN Goes Loband | Only Hybrids

Pingback from  Microsoft MSDN Goes Loband | Only Hybrids

Tuesday, April 21, 2009 10:20 AM by Microsoft MSDN Goes Loband | Only Hybrids

# linkfeedr &raquo; Blog Archive &raquo; Microsoft MSDN Goes Loband - RSS Indexer (beta)

Pingback from  linkfeedr &raquo; Blog Archive &raquo; Microsoft MSDN Goes Loband - RSS Indexer (beta)

# re: MSDN Low Bandwidth Bookmarklet

The only large issue with this, imho, is that it doesn't scale to fit the width of the browser. Fixed width layouts annoy me, and it's especially unnecessary with a simplified layout like this.

Tuesday, April 21, 2009 4:09 PM by BillG

# Microsoft MSDN Goes Loband : Green Resouces

Pingback from  Microsoft MSDN Goes Loband : Green Resouces

Tuesday, April 21, 2009 4:21 PM by Microsoft MSDN Goes Loband : Green Resouces

# Eco News Today &raquo; Microsoft MSDN Goes Loband

Pingback from  Eco News Today &raquo; Microsoft MSDN Goes Loband

Tuesday, April 21, 2009 5:54 PM by Eco News Today » Microsoft MSDN Goes Loband

# Launching low bandwidth (loband) V1 and new IDE view!

The Library Experience (LEX) team is proud to announce the release of low bandwidth (loband) Version

Wednesday, April 22, 2009 2:33 AM by Inside MSDN and TechNet

# No bandwidth MSDN: Reflector

The low bandwidth version of MSDN has gotten a lot of attention recently. Allow me to suggest an alternative

Friday, April 24, 2009 11:11 PM by James Newton-King

# Microsoft MSDN Goes Loband | Eco Friendly Mag

Pingback from  Microsoft MSDN Goes Loband | Eco Friendly Mag

Friday, May 08, 2009 10:23 AM by Microsoft MSDN Goes Loband | Eco Friendly Mag

# Langsom PC? G??r din computer hurtigere uden besv??r

Pingback from  Langsom PC? G??r din computer hurtigere uden besv??r

Tuesday, August 25, 2009 1:18 AM by Langsom PC? G??r din computer hurtigere uden besv??r

# re: MSDN Low Bandwidth Bookmarklet

Schedule pricelists   may be obtained directly from GSA Schedule contractors. ,

Thursday, October 22, 2009 8:15 AM by John40

# re: MSDN Low Bandwidth Bookmarklet

Rather, I am concerned about young architects with high aspirations and fertile imaginations and a strong sense that the status quo is not good enough. ,

Friday, October 23, 2009 7:05 AM by Coder54

# re: MSDN Low Bandwidth Bookmarklet

Just I have one dought .If I want to make the my website to lowband means .what i have to do .If any one Know Explain me..

Advance Thanks

Jeff

Thursday, November 12, 2009 8:43 AM by Velu

# re: MSDN Low Bandwidth Bookmarklet

Alohi. Mi zer novazo. http://jestormani.net

Monday, December 14, 2009 4:31 AM by VexyDomoKnoxy

# Low bandwidth version of MSDN Online - Musings by Generator

Pingback from  Low bandwidth version of MSDN Online - Musings by Generator

Saturday, December 19, 2009 1:49 PM by Low bandwidth version of MSDN Online - Musings by Generator

# re: MSDN Low Bandwidth Bookmarklet

Your writing is very elegant, very vivid and lively, I really like you, wish you continued to write better articles, I will often try to concern, oh!

Monday, January 18, 2010 10:34 PM by ugg boots

# re: MSDN Low Bandwidth Bookmarklet

mit kerestem, koszonom

Friday, January 22, 2010 8:04 AM by tool

Leave a Comment

(required) 
(required) 
(optional)
(required)