Tree View Performance with lots of libraries

New Contributor

We have over 8,000 libraries within a SharePoint 2013 subweb. When accessing the subweb, it takes a short duration for the server to return content, but then Internet Explorer takes minutes to render. I suspect the issue is with the tree view navigation displaying all of the libraries.


We have also copied the subweb to SharePoint 2016 and have similar performance issues.


Has anyone else experienced this issue or any solutions?

1 Reply
best response confirmed by SPGaz74 (New Contributor)
Figured it out. The issue was down to the tree view navigation. Inspecting the HTML page, it was over 30MB in size, with almost all of that captured in the VIEWSTATE.

It was resolved by disabling the tree view and implementing custom JavaScript that obtains the list of libraries using CSOM.