It is a typical issue which might be confronted by everybody who is doing work in Salesforce for application development using lightning under the community or independently. So, I also faced a similar issue when I began working in Salesforce on lightning application development for making the custom shopping cart through which client can put in a request under the group subsequent to survey it. In the wake of developing the shopping cart under the community I confronted numerous issues in bringing the assets from the child components and I experienced slow/moderate handling speed. In the event in which my client attempted to make a request from the shopping cart, it took long hours in handling which made my client miserable and I truly got strained about this huge issue with respect to the Speed of Lightning Application. I investigate a great deal about how to improve the preparing rate of an undertaking. Under the community of the Salesforce, I even contacted the Salesforce Support Team regarding this issue however, I didn’t get the reasonable vision about it. Thus, I chose to make its very own answer.
How to increase the processing Speed of an Application?
Let me tell you the solution to increase the processing speed of Lightning app in Salesforce under the community which I used to optimise the speed of my lightning app. As we are probably aware that we have one dependancy on which all the parent components are needed to bring the assets for the preparing. When we make any application under the community it straight forwardly gets dependant on the child part which has all assets or information of the parent segment. As we have just a single child in which each of the assets are put away from various fields which makes it confused and back off the speed of handling.
To make its handling faster, we ought to evacuate the basic dependency and give one child one parent association or can state a solitary associations which helps in improving the speed of the preparing and help you to get the data from child components effortlessly and in quicker way this is the most ideal approach to enhance the speed of Lightning Application in Salesforce under community.Likewise, I also made alterations in the database calls yet I didn’t get any great outcome from this.I want to recommend to all salesforce engineers to utilize this strategy and in the event that you have any kind of inquiry or inquiries in your mind you can contact me here http://www.designersx.com/salesforce-service/
Basic Knowledge of Dependencies
The <aura:dependency> tag enables you to declare dependencies that can’t easily be discovered by the framework.
For example, adding this tag to a component marks the sampleNamespace:sampleComponent component as a dependency.
<aura:dependency resource=”markup://sampleNamespace:sampleComponent” />
Add this tag to component markup to mark the event as a dependency.
<aura:dependency resource=”markup://force:navigateToComponent” type=”EVENT”/>