Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Website takes a long time to start after solution build

In development, our Asp.Net 4 website takes a fairly lengthy time to start after the project libraries are built

We do a fair amount of population of statics etc, but not enough to justify the length of time it takes the app to come up (probably 3-4 minutes)

We aren't building the website, just the libraries, and batch != true in the compilation element in the .config file.

I will try log some diagnostics, but any other pointers would be useful

like image 792
Matt Evans Avatar asked Apr 05 '11 13:04

Matt Evans


1 Answers

You can also try the optimizeCompilations="true", on the compilation session of web.config.

<compilation debug="true" batch="false" optimizeCompilations="true" >

My site also makes too long to run for the fist time, after I compile my dll's.

like image 100
Aristos Avatar answered Nov 05 '22 17:11

Aristos