Skip to content

Instantly share code, notes, and snippets.

@izharikov
Created August 5, 2019 16:00
Show Gist options
  • Save izharikov/b9f63c4ef61eb853930104efa32aa0a4 to your computer and use it in GitHub Desktop.
Save izharikov/b9f63c4ef61eb853930104efa32aa0a4 to your computer and use it in GitHub Desktop.
Sitecore Local Env Speed-up
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/">
<sitecore>
<settings>
<setting name="EnableEventQueues">
<patch:attribute name="value">false</patch:attribute>
</setting>
<setting name="Counters.Enabled">
<patch:attribute name="value">false</patch:attribute>
</setting>
<setting name="ItemCloning.Enabled">
<patch:attribute name="value">false</patch:attribute>
</setting>
<setting name="DeviceDetection.Enabled">
<patch:attribute name="value">false</patch:attribute>
</setting>
<setting name="Analytics.PerformLookup">
<patch:attribute name="value">false</patch:attribute>
</setting>
<setting name="Media.RequestProtection.Logging.Enabled">
<patch:attribute name="value">false</patch:attribute>
</setting>
<setting name="WebDAV.Enabled">
<patch:attribute name="value">false</patch:attribute>
</setting>
<setting name="ContentTesting.AutomaticContentTesting.Enabled">
<patch:attribute name="value">false</patch:attribute>
</setting>
<setting name="WebEdit.ShowNumberOfLockedItemsOnButton">
<patch:attribute name="value">false</patch:attribute>
</setting>
<setting name="ContentEditor.CheckHasChildrenOnTreeNodes">
<patch:attribute name="value">false</patch:attribute>
</setting>
<setting name="ContentEditor.CheckSecurityOnTreeNodes">
<patch:attribute name="value">false</patch:attribute>
</setting>
</settings>
<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.Loader.ShowVersion, Sitecore.Kernel">
<patch:delete />
</processor>
<processor type="Sitecore.Pipelines.Initialize.PrecompileSpeakViews, Sitecore.Speak.Client">
<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>
</pipelines>
<hooks>
<hook type="Sitecore.Diagnostics.MemoryMonitorHook, Sitecore.Kernel">
<patch:delete />
</hook>
<hook type="Sitecore.Diagnostics.HealthMonitorHook, Sitecore.Kernel">
<patch:delete />
</hook>
</hooks>
<scheduling>
<!-- Update this agent so it doesn't run every 10 seconds. Appears to be related to email contact management. -->
<agent type="Sitecore.ListManagement.Operations.UpdateListOperationsAgent, Sitecore.ListManagement">
<patch:attribute name="interval">00:30:00</patch:attribute>
</agent>
<agent type="Sitecore.ContentSearch.SolrProvider.Agents.IndexingStateSwitcher, Sitecore.ContentSearch.SolrProvider">
<patch:attribute name="interval">08:00:00</patch:attribute>
</agent>
<!-- Never automatically build core or master index -->
<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 hint="EXM tasks">
<patch:attribute name="interval">03:00:00</patch:attribute>
</agent>
<agent hint="EXM instance tasks">
<patch:attribute name="interval">03:00:00</patch:attribute>
</agent>
<agent type="Sitecore.Tasks.TaskDatabaseAgent">
<patch:attribute name="interval">03:00:00</patch:attribute>
</agent>
<agent type="Sitecore.ContentSearch.SolrProvider.Agents.IsSolrAliveAgent, Sitecore.ContentSearch.SolrProvider">
<patch:attribute name="interval">03:00:00</patch:attribute>
</agent>
<agent type="Sitecore.Tasks.CounterDumpAgent">
<patch:delete />
</agent>
<agent type="Sitecore.Tasks.UrlAgent">
<patch:delete />
</agent>
<agent type="Sitecore.Tasks.CloneNotificationsCleanupAgent">
<patch:delete />
</agent>
<agent type="Sitecore.Tasks.CleanupFDAObsoleteMediaData">
<patch:delete />
</agent>
<agent type="Sitecore.Tasks.WebDAVOptionsCleanupAgent">
<patch:delete />
</agent>
<agent type="Sitecore.PathAnalyzer.Client.Tasks.HelpUpdateAgent,Sitecore.PathAnalyzer.Client">
<patch:delete />
</agent>
<agent type="Sitecore.PathAnalyzer.Client.Tasks.HelpUpdateAgent,Sitecore.PathAnalyzer.Client" desc="PageExplorer Help">
<patch:delete />
</agent>
<agent type="Sitecore.PathAnalyzer.Client.Tasks.HelpUpdateAgent,Sitecore.PathAnalyzer.Client" desc="PathAnalyzer Help">
<patch:delete />
</agent>
<agent type="Sitecore.Tasks.PublishAgent">
<patch:delete />
</agent>
<agent type="Sitecore.Tasks.HtmlCacheClearAgent">
<patch:delete />
</agent>
<agent type="Sitecore.ListManagement.Operations.UpdateListOperationsAgent, Sitecore.ListManagement">
<patch:delete />
</agent>
</scheduling>
<databases>
<database id="core">
<dataProviders>
<dataProvider>
<prefetch>
<cacheSize>300MB</cacheSize>
</prefetch>
</dataProvider>
</dataProviders>
</database>
</databases>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment