Fix the Ideas Lab forum

Please test the Ideas Lab for loading.  I removed the offending issue.

HI,

on my netbook (Samsung NC10) with Windows 7 and IE 8:

copy the url http://community.wdc.com/t5/WD-TV-Live-Ideas/idb-p/idea 

close all browser windows

paste the url in a fresh browser windows

the page needs about 26-30 seconds to fully load. The  browser windows does not respond for about 20 sec.

Hi,

here are some results from page profiling with IE 8 developer tools:

the longest function  is  gebcn  from lia-scripts-body-min.js (20.000 ms)

The page itself is  600 kb in size. The page use an 300 kb (???) style sheet (css)

the profiler  counts very much string operations  (about 36.000). 

All test had been made with my netbook.

I’m sorry.  I’m not a programmer, so I’m not sure what all the numbers mean.  But I do know that netbooks are slow for loading most web pages (I’ve owned three of them myself, and now have a 12.1 inch Eeepc).  Since I made the changes, I’ve had no problems loading the Ideas pages quickly.  Now, quickly might be a relative term, so I won’t presume to think that “quickly” will be the same for everybody.  But before this, it seemed like it took forever to get a page to load.  Hopefully, everyone else’s experience will be “quicker” than before. 

OK,

I try it again:

the idea section contain an very (!!!) large javascript  section at it end:

Example:

LITHIUM.CustomEvent(‘#link_892’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“screensaver”});
LITHIUM.CustomEvent(‘#link_893’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“scroll”});
LITHIUM.CustomEvent(‘#link_894’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“scrolling pages”});
LITHIUM.CustomEvent(‘#link_895’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“scrolling text”});
LITHIUM.CustomEvent(‘#link_896’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“search”});
LITHIUM.CustomEvent(‘#link_897’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“search feature”});
LITHIUM.CustomEvent(‘#link_898’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“search results handling”});
LITHIUM.CustomEvent(‘#link_899’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“search with alphabetical index”});
LITHIUM.CustomEvent(‘#link_900’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“security”});
LITHIUM.CustomEvent(‘#link_901’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“selection”});
LITHIUM.CustomEvent(‘#link_902’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“server”});
LITHIUM.CustomEvent(‘#link_903’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“service”});
LITHIUM.CustomEvent(‘#link_904’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“settings”});
LITHIUM.CustomEvent(‘#link_905’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“share”});
LITHIUM.CustomEvent(‘#link_906’, ‘click’, ‘LITHIUM:labelSelected’, {“selectedLabel”:“shares”});

(and so on)

 This code generate links like this:

http://community.wdc.com/t5/WD-TV-Live-Ideas/idb-p/idea/label-name/analog%20audio

http://community.wdc.com/t5/WD-TV-Live-Ideas/idb-p/idea/label-name/and%20pick%20up%20where%20i%20left%20off%20on%20another%20wd%20tv%20live

http://community.wdc.com/t5/WD-TV-Live-Ideas/idb-p/idea/label-name/android

http://community.wdc.com/t5/WD-TV-Live-Ideas/idb-p/idea/label-name/answers

http://community.wdc.com/t5/WD-TV-Live-Ideas/idb-p/idea/label-name/ape%20losssless%20audio%20format

http://community.wdc.com/t5/WD-TV-Live-Ideas/idb-p/idea/label-name/app

http://community.wdc.com/t5/WD-TV-Live-Ideas/idb-p/idea/label-name/apple

http://community.wdc.com/t5/WD-TV-Live-Ideas/idb-p/idea/label-name/apple%20trailers

http://community.wdc.com/t5/WD-TV-Live-Ideas/idb-p/idea/label-name/applications

http://community.wdc.com/t5/WD-TV-Live-Ideas/idb-p/idea/label-name/arabic

The count currently is over 1000 .

I think, this javascript generates the “lables” windows at the right side of the page.

Remove this.

An link report of this page contains 1315 links.

Other sections in this forum does not contain so much javascript code and does not contain “Labels”.

If you need this function, talk with “Lithium” to pre-render the html at server side. Not in the client’s browser with javascript.

Hope this help.

Sorry, but my english is not perfect.

I forwarded your information to Lithium.  However, the main issues was caused by one of the idea posts that had images hosted on a server in Hungary.  Once the pictures were hosted, locally, it fixed the load speed for me.  And like I said, I’m not going to judge load time based on a netbook.  Anyone who’s owned one knows how slow they can be at loading web pages.

Yes, a netbook may load some webpages slowly. Pages with many flash movies or large javascipt.

On my main PC, the pge loads faster, but it is not a “speed monster”.

The problem: The forum software produce some content at the right side with large javascript’s .

And again: the raw size of the generated html content ist 600 kbyte, the CSS file is over 300 kbyte

This may slow down many browsers. The external images are not the  problem here.

Many other large sites, like ebay or amazon and the rest of  this forum (not the idea lab) working fine.

Like I said, I’ve forwarded it.  I’m sure they’ll look into it.