Skip to content

Instantly share code, notes, and snippets.

@phaniav
Last active August 22, 2020 06:30
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phaniav/9e5e59f3a029ecbb8b3eaef591c99161 to your computer and use it in GitHub Desktop.
Save phaniav/9e5e59f3a029ecbb8b3eaef591c99161 to your computer and use it in GitHub Desktop.
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:env="http://www.sitecore.net/xmlconfig/env/">
<!--
Author: https://twitter.com/epetrashen
Details: https://sitecorepc.wordpress.com/2020/08/12/supercharge-your-local-sitecore-instance-with-these-tips/
-->
<sitecore env:require="Local">
<hooks>
<hook type="Sitecore.Diagnostics.HealthMonitorHook, Sitecore.Kernel">
<patch:delete />
</hook>
<hook type="Sitecore.Diagnostics.MemoryMonitorHook, Sitecore.Kernel">
<patch:delete />
</hook>
</hooks>
<settings>
<setting name="DeviceDetection.Enabled" value="false" />
<setting name="Xdb.Enabled" value="false" />
<setting name="Counters.Enabled">
<patch:attribute name="value">false</patch:attribute>
</setting>
</settings>
<sites>
<site name="{websitename}">
<patch:attribute name="database">master</patch:attribute>
<patch:attribute name="filterItems">false</patch:attribute>
<patch:attribute name="enableWorkflow">false</patch:attribute>
</site>
</sites>
<pipelines>
<initialize>
<processor type="Sitecore.Pipelines.Initialize.PrecompileSpeakViews, Sitecore.Speak.Client">
<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>
<processor type="Sitecore.Analytics.Pipelines.Initialize.ShowXdbInfo, Sitecore.Analytics">
<patch:delete />
</processor>
<processor type="Sitecore.Pipelines.Loader.DumpConfigurationFiles, Sitecore.Kernel">
<patch:delete />
</processor>
</initialize>
<contentSearch.queryWarmup patch:source="Sitecore.ContentSearch.config">
<processor type="Sitecore.ContentSearch.Pipelines.QueryWarmups.RunQueries, Sitecore.ContentSearch">
<patch:delete />
</processor>
</contentSearch.queryWarmup>
</pipelines>
<scheduling>
<agent name="Core_Database_Agent">
<patch:attribute name="interval">00:00:00</patch:attribute>
</agent>
<agent name="Master_Database_Agent">
<patch:attribute name="interval">00:00:00</patch:attribute>
</agent>
<agent type="Sitecore.ContentSearch.SolrProvider.Agents.IndexingStateSwitcher, Sitecore.ContentSearch.SolrProvider">
<patch:delete />
</agent>
<agent type="Sitecore.ListManagement.Operations.UpdateListOperationsAgent, Sitecore.ListManagement">
<patch:attribute name="interval">00:30:00</patch:attribute>
</agent>
</scheduling>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment