Performance is key, who does not hate slow pages? In this session by Russ More and John Fan we will learn how to speed up SharePoint Online pages to build faster portals.
Here are my notes:
Measure, Measure, Measure!
You get what you measure!
Microsoft measures a lot of metrics internally and even compare them to competitors – they monitor their own dogfood service (fast ring) to see if there are regressions.
Nice fact: Average page in SharePoint loads in 3 seconds. I expected it to be much higher actually.
Personal note: If you want super easy measuring, try Azure Application Insights – I used it in several projects now and it really gives you great insights what people are using and where you are facing problems that must be improved.
Entry point with a lot of tips is: http://aka.ms/tune
Most of the performance issues are not server but client related – it just takes to long to deliver all content to the client so it can render the entire page. Lots of requests, large files, unminified js/css and usage of inline scripts and styles. The old http/1.1 protocol, or as John called it “waterfall requests” is part of the problem because the requests are not handled in parallel.
Lots of request? Minify and reduce, use CDNs – and use http/2 to bundle request. There is a nice test page to visualize the difference between http/1.1 and http/2: https://http2.golang.org/gophertiles
Using CDNs in an online scenario like SharePoint Online is of course much easier.
SharePoint Framework SPFx
SharePoint Framework kinda evolved out of those problems (or at least inspired the solution), client-side only rendering with performance in mind.
I will definitely attend one or two deep dive sessions about this.
Phew, lots of input. Interesting facts and hints from John and Russ!
Need to fiddle with CDNs in one of my client projects with SharePoint Online where the pages are loading REALLY slow and see if the things can be improved/measured with the methods that haven been shown.