17 votes

Sitecore Page - First request on every page slow

It could be that you just have a dodgy rendering that is running on every page and is then cached for that page; to see if this is the case you can profile Sitecore pages. You can investigate this by ...
14 votes

How do publish end remote events work

The communication between the Content Delivery and Content Management box is handled through the Event Queue. Your Content Management instance triggers an event (i.e.: "publish:end:remote") This ...
12 votes

Sitecore Page - First request on every page slow

Possible answers to 1,2,3... Sounds like you need to do a bit of tuning on your caches. Sitecore has a number of "admin" pages which help you diagnose problems such as this - you can use the cache ...
  • 1,314
11 votes
Accepted

Optimizing Sitecore Media Items

You've got a few options: The Simple Option: Add a width (see here: Sitecore Image Parameters) - the image sizes will be processed. The disadvantage of this approach is that you get a processing hit ...
  • 1,512
10 votes
Accepted

CMS Performance Tuning for Sitecore 8+

The entirety of the CMS Performance Tuning guide that you linked is relevant for Sitecore 8.X. The guidelines and features discussed have not changed. The underlying architecture for some of the ...
  • 14.5k
10 votes

Optimizing Sitecore Media Items

You could also use this... https://github.com/kamsar/Dianoga An automatic image optimizer for the Sitecore media library.
10 votes
Accepted

How do publish end remote events work

When publish:end:remote event is raised, there is an entry created in the core database EventQueue table. All the servers (including CD servers) check that table and executes all the handlers. In ...
  • 21.5k
10 votes
Accepted

Sitecore Habitat Performance

Habitat is an example implementation of the Helix guidelines and shouldn't be used as a starter kit. With that said, you should review what you will need now and remove what you can. It can always ...
10 votes

How do I improve my SXA sites Google PageSpeed Insights Score?

From numerous experiments, I have put together the following tips and tricks. Note that a good score under the desktop tab is considerably easier to achieve, the mobile score in our responsive ...
  • 1,079
9 votes
Accepted

Lucene analytics index constantly loads HDD

The sitecore_analytics_index stores information about interactions, contacts, and some other xDB entities. The more data you collect, the bigger the index will grow. The more visits you have in a ...
9 votes
Accepted

MongoDB disk IOPS

If your throughput consist out of more than 100.000 writes per second, I would recommend you use an SSD. I think you should not overkill your machine. MongoDB cache will only take up to 10% of your ...
8 votes
Accepted

What are the best practices for MongoDB replica set latency?

In general, if your data nodes are hosted in different geographical regions, latency between them will be considered high. Write concern High latency will make the replication process slower, which ...
8 votes

Definition of content on a page

One approach that we have used is to index the content of all data sources in a single computed field. You can search that field when searching the index. This can probably be improved, but it's a ...
  • 3,235
8 votes
Accepted

Sitecore Implementation - HTML Cache Control Setting options

Sitecore comes with out of the box possibilities to configure media caching. Have a look at the Sitecore.config: <!-- MEDIA RESPONSE - CACHEABILITY The <see cref="HttpCacheability">...
  • 1,601
8 votes
Accepted

Sitecore pre-fetch cache setting clarification

Do we need to include both master and web db settings in CMS? Or just master settings in CMS. Only the master db will suffice. Web db items are only used when the site is accessed through the front-...
8 votes

MongoDB disk IOPS

Here's my understanding (from notes taken during a Mongo engagement a while back): for MongoDB, the more RAM the better. MongoDB performs everything in memory (by default) and flushes it to disk in a ...
  • 1,289
8 votes

Many hours to delete 670 old versions of an item - Sitecore 7.2

If you use Sitecore PowerShell Extensions you can make this process faster by wrapping it in an EventDisabler SPE has a Remove-ItemVersion cmdlet that lets you select the language(s) versions and ...
  • 19.5k
7 votes

Too many media items in single node creating performance issue

As a best practice, there should not more than 100 items under any node in Sitecore, Since Media in Sitecore are also store as Items so it is applicable for Media library as well. If you have more ...
6 votes
Accepted

How often should agents run to both minimize impact on users and reduce risk of other performance issues?

Can't provide you with a list of recommendations for all agents, but as you mentioned the event queue I can give some information on the CleanupEventQueue task. As we had issues with ever growing ...
  • 19.6k
6 votes

How to avoid unnecessary calls in 8.2 Content Editor

Most of the calls you mentioned are related to Sitecore Standard Fields. E.g. if you Content Editor is about to display Tracking field in a user friendly way, it does extra call to ...
  • 21.5k
5 votes

Limiting version numbers/copying old versions to archive for easy access

Update: I've recently written about this on my blog and created an SPE script with quite a nice UI to do this for you: http://www.flux-digital.com/blog/removing-unneeded-sitecore-versions-spe/ To add ...
5 votes

Optimizing Sitecore Media Items

I would always make sure that your renderings output images with a max-width that is suitable for that rendering, so that any images larger than this uploaded by your editors isn't rendered onto the ...
  • 4,154
5 votes

Performance issue when inserting item to Lucene index

I think your Lucene index needs a trim. Especially if it hasn't been this slow always, but just gradually started degrading little by little. Since it's not a production server, my first ...
  • 24.7k
5 votes

Lucene analytics index constantly loads HDD

The general reasons for using Solr instead of Lucene are: When you need to index large numbers of items (50,000 and up), Solr performs better, so in your case you have to use SOLR Solr is more ...
5 votes
Accepted

How to disable Content Testing in Sitecore 8.2

Solution (For XP 8.1 And Later) Change the ContentTesting.AutomaticContentTesting.Enabled setting value to false in the App_Config\Include\ContentTesting\Sitecore.ContentTesting.config file: <...
  • 14.5k
5 votes

Experience Editor painfully slow

I personally prefer looking at doing performance improvements holistically on the entire Content Management instance. As there are most likely multiple content authors using the CMS all at the same ...
5 votes
Accepted

How to refresh prefetch cache?

Sitecore populate prefetch catches just at application inititialization, and it maintains it during the lifetime of the application. Is not possible to update after you run the app and the prefetch ...
5 votes

How many personalization rules are too many? At what point does page/site performance start to take a hit?

Without having done any testing, I think that one of the important considerations here would be "what kind of personalization conditions will cause performance impacts?" The rules engine is very ...
5 votes

What could cause Sitecore to use high CPU?

You can try the following to identify your issues: Enable Sitecore Pipeline Profiling by setting <setting name="Pipelines.Profiling.Enabled" set:value="true" /> <setting name="Pipelines....
5 votes
Accepted

Performance profiling - assess the number of items read during the execution of a method

The class of interest here is Sitecore.Diagnostics.PerformanceCounters.DataCount (in Sitecore.Kernel.dll). You can simply use the following technique: var initialItemsAccessed = Sitecore.Diagnostics....

Only top scored, non community-wiki answers of a minimum length are eligible