Skip to content

Commit 0115829

Browse files
authored
Added notes for async network requests to Optimize Form Performance
1 parent 7054d88 commit 0115829

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

powerapps-docs/maker/model-driven-apps/optimize-form-performance.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ Forms that load slowly can reduce productivity and user adoption. Follow these r
4141
## Form scripts
4242
When you have customizations using form scripts make sure that the developer understands these strategies to improve performance.
4343

44+
**Avoid using synchronous requests**
45+
Synchronous requests can cause slow page loads and unresponsive forms. [Use asynchronous requests instead](https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/best-practices/business-logic/interact-http-https-resources-asynchronously). See [this blog post](https://powerapps.microsoft.com/en-us/blog/turbocharge-your-model-driven-apps-by-transitioning-away-from-synchronous-requests/) for more examples.
46+
4447
**Avoid including unnecessary JavaScript web resource libraries**
4548
The more scripts you add to the form, the more time it will take to download them. Usually scripts are cached in your browser after they are loaded the first time, but the performance the first time a form is viewed often creates a significant impression.
4649

@@ -58,7 +61,10 @@ Forms that load slowly can reduce productivity and user adoption. Follow these r
5861
Keep these recommendations in mind as you edit the command bar or ribbon.
5962

6063
**Keep the number of controls to a minimum**
61-
Within the command bar or the ribbon for the form, evaluate what controls are necessary and hide any that you don’t need. Every control that is displayed increases resources that need to be downloaded to the browser.
64+
Within the command bar or the ribbon for the form, evaluate what controls are necessary and hide any that you don’t need. Every control that is displayed increases resources that need to be downloaded to the browser.
65+
66+
**Use asynchronous network requests in Custom Rules**
67+
When using custom rules that make network requests in Unified Interface, [use asynchronous rule evaluation](https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/define-ribbon-enable-rules#custom-rule).
6268

6369
## Next steps
6470
[Create and design forms](create-design-forms.md)

0 commit comments

Comments
 (0)