Edit

Share via


Performance

Summary

Implementing customizations in SharePoint places an even greater emphasis on effective design and development for web applications in general, and client-side web applications in particular, especially when it comes to the concept of application performance. Performance is one of the important factors that influence user-experience and how efficient users can work with the portal.

High-level guideline/general rules

  • When testing performance, take into account both server-side performance of your code, as well as the performance of your code running in end-users' browsers.
  • Whenever possible cache data to minimize the number of requests to SharePoint.
  • When referencing scripts and other assets, allow users to cache them for as long as possible to minimize the number of requests to the server and the amount of data to load.
  • Avoid excessive DOM manipulation that would trigger re-rendering of the page and delay its loading.

Handling SharePoint Online throttling

Applies to: Office 365

SharePoint Online uses throttling to prevent users from over-consuming resources. When a user runs CSOM or REST code that exceeds usage limits, SharePoint Online throttles any further request from the user for a period of time.

Articles

Samples

SharePoint Framework

Applies to: Office 365 | SharePoint Server

Articles

SharePoint Add-ins

Applies to: Office 365 | SharePoint Server

The approaches you take to ensure optimal performance with SharePoint is different in the new SharePoint Add-in model than it was with Full Trust Code. In a typical Full Trust Code (FTC) / Farm Solution scenario most code operations took place in the SharePoint Server-side Object Model code.

Articles

Videos

Samples

Portals

Applies to: Office 365 | SharePoint Server

Articles

Videos