18 May, 2022

WebOptimizer taking too much time in aspnet core ?

Web Optimizer taking too much time in aspnet core ? 

As we all know that Microsoft has done away with the Bundle Config starting .net core. However there are still plenty of doable solutions available online that come to rescue.

Web-optimizer is one of the popular middle-ware that helps in creating bundles for Java-scripts and CSS/SCSS.

With recent implementation, we discovered that that after including offline packages for FontAwsome, it started taking around 4000 milliseconds, a quite high.

 

Defaulting Code 

 Solution :

Later on what we discovered was that just because of human error/typos/copy paste of incorrect path, once rectified, load time reduced significantly to < 200 milliseconds.


 

No comments: