Widgets Performance

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 6 ans
Hi!

Profiling my 3.7 site, I have seen almost 40 widget requests before page load, it is consuming half of total page processing time, the WidgetsByZone method is called so many times.

So, a basic way to increase performance is remove all unnecessary "@Html.Widget()" calls on views, but it is not a solution for the problem.

Is there a way to improve its performance? Is it on focus?

Thanks!
Il y a 6 ans
Actually it doesn't cause performance issues. This method is very fast. Furthermore, it has caching implemented
Il y a 6 ans
Andrei,

Im not say that this method has performance issues. Im saying that is is being called over 40 times always any page is rendered.

Even it is fast as light speed, 0.05 seconds or less for call, it is always 40x this time, making it spent too much on same task. In this case 40x 0.05 seconds = 2 seconds.

Cache helps it, but there is too many calls.

Maybe we should take an eye on it.

Im using RedGate profiler and I have some proofs about it. You can try by yourself.

See?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.