Skip to content

Instantly share code, notes, and snippets.

@komainu85
Created June 2, 2015 12:10
Show Gist options
  • Save komainu85/2b5bf03018a85b5ab824 to your computer and use it in GitHub Desktop.
Save komainu85/2b5bf03018a85b5ab824 to your computer and use it in GitHub Desktop.
Dev sitecore 8 config from Alex Shyba
<!--
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.
To enable this include file, rename it to have a ".config" extension.
-->
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" >
<sitecore>
<hooks>
<hook type="Sitecore.Diagnostics.HealthMonitorHook, Sitecore.Kernel">
<patch:delete />
</hook>
<hook type="Sitecore.Diagnostics.MemoryMonitorHook, Sitecore.Kernel">
<patch:delete />
</hook>
</hooks>
<pipelines>
<contentSearch.queryWarmup patch:source="Sitecore.ContentSearch.config">
<processor type="Sitecore.ContentSearch.Pipelines.QueryWarmups.RunQueries, Sitecore.ContentSearch">
<patch:delete />
</processor>
</contentSearch.queryWarmup>
<initialize>
<processor type="Sitecore.Pipelines.Initialize.PrecompileSpeakViews, Sitecore.Speak.Client">
<patch:delete />
</processor>
<processor type="Sitecore.Pipelines.Loader.InitializeScheduler, Sitecore.Kernel">
<patch:delete />
</processor>
<processor type="Sitecore.Pipelines.Loader.ShowVersion, Sitecore.Kernel">
<patch:delete />
</processor>
<processor type="Sitecore.Pipelines.Loader.ShowHistory, Sitecore.Kernel">
<patch:delete />
</processor>
<!-- Removing again, now for content testing :-) -->
<processor type="Sitecore.Pipelines.Initialize.PrecompileSpeakViews, Sitecore.Speak.Client">
<patch:delete />
</processor>
</initialize>
<!-- Removing the whole getTranslation pipeline and re-adding empty one to get rid of the errors in logs -->
<getTranslation>
<patch:delete/>
</getTranslation>
<getTranslation />
</pipelines>
<settings>
<setting name="Counters.Enabled" set:value="false" />
<!-- !!!WARNING!!! this may have effect on parts of functionality such as index update strategies. Use with caution. -->
<setting name="EnableEventQueues" set:value="false" />
</settings>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment