Last week I wrote a post about how I fix CSOM code in order to accelerate whole query execution. Final result was not that bad though still not good enough:
- 0.8s for fetching ~500 subsites
- 6.5s for fetching ~900 subsites recursively for whole subsites hierarchy
My aim is to fetch whole subsites hierarchy within time that is reasonable to wait (1-2s total).
In this post I show you how to achieve it – we can fetch whole subsites hierarchy in less than 2s!
Intranet home page should contains all information that are needed in daily manner. In fact many companies use home page as a traffic node where everybody comes just to find a navigation link pointing to another part of intranet. In my current company, Findwise, we do that too. However one of our components that allows us to quickly navigate through intranet sites gets slower and slower year by year. Currently it’s loading time is almost 10 seconds! I decided to fix it or even rebuild it if needed. Especially that few weeks ago on ShareCon 365 conference I talked about SharePoint Framework in Search Driven Architecture where I described the customer case, PGNIG Termika, who saved about 600k PLN (~$165.000) per year thanks to their information accessibility improvements (information time access dropped from 5-10 minutes to 1-2 seconds).
In this post I wanted to show you what was the problem, how I fixed it and how my fix cuts the component loading time 6 times!
On 16.10.2017 I had a privilege to be one of speakers on ShareCon365. I had technical speech where I showed how to make Sharepoint Framework (SPFx) apps in Search Driven Architecture. If you were on my speech you are probably interested in materials which you can find here: My presentation materials.
If you were not…than keep reading 🙂
- “I’m so confused with all this SharePoint Framework, apps, solutions…I just wanted to develop for Sharepoint!”
- “What can I use SharePoint Framework (SPFx) for? Can I use it for branding?”
- “When should I pick custom SharePoint solution over SharePoint Framework or SharePoint App?
- “How can I make elevated privilages in sharepoint hosted app?”
During our years of experience in SharePoint development we’ve seen those questions many times. They were asked by IT devs of our clients, by users of tech blogs/forums and also by ourselves (yes, we’re learning all the time!). Since you’re here we assume that you are confused a little bit too but don’t worry. We know what you feel. That’s why we’ve created this post.
At Findwise we work with improving the SharePoint experience on a daily basis. If you want to know more about our areas and offers visit our site.