SharePoint Page Performance Optimization

In this article we can explore few options to improve SharePoint Page Performance.

image

Page Performance

The usual NFR (Non-Functional Requirement) value for Page Response time is 3 seconds. This is the standard for a normal Intranet Deployment Scenario. So if your page is taking more than 3 seconds to load, then it is not a good sign.

SharePoint Page Performance Optimization

Following are few page performance optimization ideas which we can employ. Depending on one or more of the application, we can get up to 80% improvement in page performance.

SharePoint Branding

Implementing proper branding is crucial to Page Performance. The Branding Architect should re-visit the page components and ensure only required components are used in the page. Few of the items are listed below:

1. Do not use Web Part Zone, Content Editor etc. if there are not direct requirement

2. Remove unwanted SharePoint link & JS file references

If you are using Full Page Branding, it is better to start with a clean ASPX page and add the Minimal SharePoint components like JS Links, Form Digest etc.

This step should improve performance by 20%.

Offline Application Cache

If your users are using HTML5 Compatible Browsers, then Offline Application Cache is recommended. This will enable files to be cached in the browser side & reducing round trips.

Up to 80% Performance Improvement can be achieve using this step.

JS Bundling

JS Bundling is combining multiple JS files into a bundle file. This will reduce the number of Network calls to the server. The same can be applied to CSS Bundling as well.

This step should give up to 20% Improvement in Page Performance.

Image Spriting

Image Spriting is combining multiple image files into a single file. This will reduce the number of requests to the server.

This step should give up to 20% Improvement in Page Performance.

AJAX Cache Busting

There seems to be a big delay with Internet Explorer on REST API calls. This can be resolved through AJAX Cache Busting.

The idea here is to add a dynamic query parameter with date/timestamp so that each REST API URL will look unique and the browser will bypass Cache checking.

This should improve 20% in page performance.

JSOM Batching

If you are using multiple REST API calls, you may also consider using JSOM Batching. This can improve 20% in page performance.

image

The Browsers are using multi-threaded mode to fetch the files.

References

http://www.jeanpaulva.com/index.php/2015/12/02/cost-of-sharepoint-branding/

Summary

In this article we have explored few options to improve SharePoint Page Performance.

Leave a Reply

Your email address will not be published. Required fields are marked *