Skip to content
Advertisement

Solve Minimize Critical Requests Depth – Page Performance

My Issue

For my web app, the initial loading of the page takes more that 20 seconds. On Chrome – Audit -LightHouse shows the below information. enter image description here

I do not have idea on how to address this to make my page load faster. I’ve been with this for long time now.

I have placed below here some details on how the bundling and rendering of bundles in my partial layout and main page is done. Any help is really appreciated.

Below is my bundling of js & css files.

JavaScript

In my _Layout.cshtml

At the start of the partial view (_Lyout.cshtml)I have rendered the below

JavaScript

At the end of the partial view (_Layout.cshtml) I have rendered the below scripts

JavaScript

In my index.cshtml I have the below code at the end view

JavaScript

Advertisement

Answer

  • defer/async non critical js.

  • combine css/js files to minimize the request.

  • pre-connect with external domain for example:

    JavaScript
  • pre-load css/js, for example:

    JavaScript
Advertisement