[Mono-aspnet-list] Mono slow on initial request
Gonzalo Paniagua Javier
gonzalo.mono at gmail.com
Wed Jun 20 15:44:49 UTC 2012
On Wed, Jun 20, 2012 at 3:43 AM, Martijn van Egdom
<martijnvanegdom at gmail.com> wrote:
> Option 1 - Didn't changed a thing.. it's still slow
> Option 2 - Application Start has an empty body and does not do a thing.
>
> The website was running smooth until the last Update. In the last update a
> couple of pages were refactored from the root into subfolders to create a
> better overview during development and a couple of pages were added. In the
> base nothing changed.
By default, those pages are compiled on the first hit. You can change
it by setting batchCompilation to false:
<configuration>
<system.web>
<compilation batch="false">
</system.web>
</configuration>
The pages will be compiled the first time they are hit.
-Gonzalo
More information about the Mono-aspnet-list
mailing list