web-irc
web-irc copied to clipboard
Lazy load channel list
Clearly, appending all the channels returned on a site like Freenode to the DOM as they're received kills performance.
Let's try lazy-loading the channels once it gets past a fairly low threshhold (say 100) -- add the next batch once you get close to the end of the list.
Ah, forget trying to custom code this. I need other grid functionality anyway like sort & search. Looks like jqGrid & Slickgrid are the best candidates here for good performance -- try jqGrid as it looks to be better documented.
http://www.trirand.com/jqgridwiki/doku.php