Some sites built on EPiServer (mostly with Relate+) might be slow to start after a deploy. It can in worst case take several minutes for the site to compile and start.
To solve this you can add optimizeCompilations="true" to the Compilation tag i web.config
<compilation defaultLanguage="c#" debug="false" targetFramework="4.0" optimizeCompilations="true" >
By adding optimizeCompilations="true" to the compilation tag we can improve the start up performance of our site considerably, but you might experience run-time errors if you delete, rename or change the signature of a method referenced by an already-compiled page. If this happens simply set it to false, rebuild and then set it to true again.
One of those errors could be "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."
No comments:
Post a Comment