Form Load Time drastically reduced with the new form rendering engine


In the upcoming CRM Online 2015 Update 1 we have made changes to the form rendering engine – focusing on how the form load process can be optimized.

There are two main changes that have been made:

1. Loading process of the form

Form load used to be a very linear process. We have parallelized as many operations as possible to eliminate time wasted because the browser is idle. Since the new form renderer is more parallelized, the rendering engine now constructs the form and XRM model first and binds the data whenever the server responds.

The diagram below is a rough approximation in order to illustrate the differences between the two rendering engines and may not reflect the exact changes

2. Handling of cache

Forms also used to waste a lot of resources. Since they were hosted in iframes, the iframe would be discarded and reloaded on each form load. The new form renderer does not discard iframes and instead keeps the iframe around. All common scripts are already parsed and never need to be loaded again. This introduced the design to load custom scripts and ISV scripts in a separate iframe which is the one that’s discarded when the form closes.  Previously, these scripts would be loaded in the same iframe as the form.

With these changes you'll see drastic performance improvements to the form load time – and it only gets better the more fields your form have

See more here: Microsoft Dynamics CRM Online 2015 Update 1 – New Form Rendering Engine

Comments (3)

  1. Felix Escobedo says:

    I need some clarification, we have several custom forms that can take 20 seconds to load. I see this improvment would work for standard forms, but it shoulds like custom forms will still need to load new iFrames. Does that mean there no improvement for
    custom forms?

    Thanks,
    Felix

  2. Pratik M says:

    I would like to know what Microsoft have done to increase the performance. What kinda logic/code implemented. My purpose of asking this question to improve other apllication like CRM portals.

    Thanks,

    Pratik

  3. Vignesh says:

    Focus on how the form load process can be optimized. There are two main changes that have been made: Form load used to be a very linear process.

    http://www.besanttechnologies.com/company/services

Skip to main content