ASP.NET MVC 3 Precompile

When I first request pages from my ASP.NET MVC 3 website, it seems to linger, but on subsequent requests it is instantaneous. I do not have caching on the pages, so the second request is pulled from the server. Is there a way to preload the whole application?

+4
source share
2 answers

In IIS 7.5 and ASP.NET 4.0 there is a new Auto-Start function that allows you to load all the application memory when the server thus avoiding latency. For all previous versions, you can schedule an automatic request at server startup to load the application into memory so that subsequent requests are faster.

+2
source

Source: https://habr.com/ru/post/1338045/


All Articles