Improve Sitecore Performance in 1 click
Few days ago I was experimenting with sitecore perfomance trying to speed up its' loading on my local machine for developing purposes. I had quite good results and you can read about that here in part 1.
I just summarized all my changes/workarounds and put it to the config file that everybody can download and put to the /App_Config/Include/ directory.
Very important to make this file be loaded after all other sitecore configurations so file name here is a vital part and it's better to keep it as it is.
Download magic config file
IMPORTANT: This configuration file is not intended for any production Sitecore installation. Purpose: This include file contains some experimental optimizations that can speed up start-up.
Please, review each of the patched elements below and consider if some of the optimizations should be commented out due to the specifics of your solution.
Enabling this file without taking into account the specifics of your solution can have unexpected consequences.
Another change is all about ASP.NET configuration and nothing with sitecore. You need to optimize compilation process. Open your web.config file and search section. Add new optimizeCompilations" attribute and set it to true.
<compilation defaultLanguage="c#" debug="false" targetFramework="4.5" optimizeCompilations="true">
According to MSDN
"By default, when any change is made to a top-level file in a Web site, the whole site is recompiled. Top-level files include the global.asax file and all files in the bin and App_Code folders. It is safest to recompile everything when one of these files changes because other files in the site, such as .aspx and .ascx files, may reference the objects created by code in top-level files."
Happy Developing!











