In the case when user have very large set of folders or files, response time is getting increased a lot and thus causing performance degradation while displaying the user library tree.Expected behavior. More data, more processing time. Also XML and XSTL are very verbose, so the data involved that needs to be processed has lots of overhead.
Is there any other option so that I could load my tree faster.Don't display everything comes to mind. Use a more efficient manner of dealing with the content is a second. But first you have to investigate where the processing time is lost. Is it in forming the data, or is the browser which has to process the XSTL and the XML data to form the eventual view (likely HTML)?
s that concept of lazy loading helpful herePerhaps, if you mean loading child data only when a node is unfolded.
While we display the folders and files for a particular user, we are forming the complete HTML string and then loading it into the browser. Is ther any performance tuning concept i can implement here?Yes, send the HTML to the browser as you create it, instead of creating it all first. You can pipeline the XML creation, XSLT transformation, and HTML writing so it all happens at the same time.