Forum Discussion

SPGaz74's avatar
SPGaz74
Copper Contributor
Jul 13, 2021
Solved

Tree View Performance with lots of libraries

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?

  • 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.
  • SPGaz74's avatar
    SPGaz74
    Copper 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.

Resources