07-23-2020, 01:04 AM
If possible try to defer loading below the fold images as well as javaScript which is not immediately used. This will load the above the fold part of the landing page very quickly and then continue to load other parts after the page has already loaded up. In general, the load time of the above the fold website should be less than 1 second.
If you use Chrome, you can get an extension such as "Page load time" which shows the load time.
Also, another thing which can greatly speed up a website is using automatic caching. This allows the browser to cache the data but also allow the server side to cache the data of that page to improve loading. In IIS, it is something like below:
[OutputCache(Order=1,Duration=14400, VaryByParam="none", VaryByCustom="AuthenticatedUser;browser", Location = OutputCacheLocation.Server)]
The website documentation will have more details on how to achieve this.
If you use Chrome, you can get an extension such as "Page load time" which shows the load time.
Also, another thing which can greatly speed up a website is using automatic caching. This allows the browser to cache the data but also allow the server side to cache the data of that page to improve loading. In IIS, it is something like below:
[OutputCache(Order=1,Duration=14400, VaryByParam="none", VaryByCustom="AuthenticatedUser;browser", Location = OutputCacheLocation.Server)]
The website documentation will have more details on how to achieve this.