As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [performance-optimization]

For questions relating to optimizing the performance of a solution.

Filter by
Sorted by
Tagged with
15 votes
2 answers
4k views

CMS Performance Tuning for Sitecore 8+

Sitecore has previously published a CMS Performance Tuning Guide for Sitecore 6.x and 7.x on SDN. I do not see any similar content on doc.sitecore.net for Sitecore 8.x. Is most of the content in the 7....
nickwesselman's user avatar
12 votes
3 answers
4k views

Sitecore Page - First request on every page slow

We have been noticing that the first request to any of the Sitecore pages seems to be loaded slow. Every subsequent request is ok. Note that we can't use output cache as is a transaction based member ...
Nil Pun's user avatar
  • 2,263
12 votes
4 answers
2k views

Optimizing Sitecore Media Items

We're currently trying to optimize our site so the end users get fast response times. One of the areas we are looking at moment is the media served from the Sitecore Media Library. What settings are ...
jammykam's user avatar
  • 13.8k
12 votes
2 answers
2k views

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

Sitecore recommends limiting number of items to up to 10 versions per item. The version manager module can be used to limit the number of item versions. This can either be run periodically, or when ...
Ian's user avatar
  • 1,072
11 votes
2 answers
4k views

MongoDB disk IOPS

I was reading that Sitecore recommends SSD disks for MongoDB Servers, and I am wondering if What are the recommended performance values? Will I have any performance lost if not use SSD? Best ...
Vinicius Deschamps's user avatar
11 votes
2 answers
562 views

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

First I referenced John West's article on agents here. He speaks of polling frequencies and intervals but neither there nor other places have I seen a clear guide on the agents that exist and best ...
Michael West's user avatar
  • 17.5k
10 votes
7 answers
5k views

Experience Editor painfully slow

I am getting painfully slow performance when using the experience editor in sitecore 9.. I have several modules added to the page (inside nested dynamic placeholders), and any change seems to take an ...
mp3duck's user avatar
  • 475
9 votes
2 answers
7k views

AcquireRequestState causing slow page load times

We're currently doing some performance optomisation of our Sitecore 8.1 Website and one of the slowest operations were seeing in New Relic is AcquireRequestState. I've read around this quite a bit ...
Adam Seabridge's user avatar
8 votes
3 answers
916 views

Lucene analytics index constantly loads HDD

We see performance issue on CM server. Content editor is very slow periodically and resource monitor shows that HDD is busy - reading and writing sitecore_analytics_index files nearly 50% of the time. ...
Daniil's user avatar
  • 868
8 votes
2 answers
140 views

Definition of content on a page

I have thought about how to best assemble a "page" document in Lucene/Solr to later use in Sitecore when searching for most relevant pages to show to a user. A page consist of many elements which is ...
Anders Gjelstrup's user avatar
7 votes
2 answers
3k views

How do publish end remote events work

We have different CM and CD servers I am generating files on publish:end and publish:end:remote events. Files will be generated in the website-Root/Dictionary Folder. What files? - We are going ...
Dheeraj Palagiri's user avatar
7 votes
1 answer
1k views

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

Our client would like us to aim/achieve a particular Google PageSpeed Insights score. In particular, a score equal to or above 80/100 (mobile score) would be ideal. We are building the site with ...
TomT's user avatar
  • 1,079
6 votes
2 answers
5k views

What are the best practices for MongoDB replica set latency?

I'm looking to setup a environment with 3 MongoDB (1 x Primary and 2 x Secondary nodes) in different regions and wondering if: Is there any recommendations on latency (in ms) limitations for the ...
Vinicius Deschamps's user avatar
6 votes
3 answers
369 views

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

A client wants to do basic personalization with a rule that changes a header image based on geolocation/zip code. They would like to try and cover as many individual zip codes as possible in a region. ...
Jim P.'s user avatar
  • 61
6 votes
2 answers
2k views

Improving the performance of MyItems Count in Sitecore 8.1

I am trying to increase the performance of Experience Editor and one of the slowest calls is to get the number of locked items. It used to be possible to disabled this in older versions of Sitecore (...
Adam Seabridge's user avatar
6 votes
1 answer
952 views

Sitecore Experience Editor Slow on Servers?

Does anyone have any ideas why Experience Editor would take 5-6 seconds to display a component I add when running on development or staging servers vs less than 2 seconds when running Sitecore and the ...
Adam Seabridge's user avatar
6 votes
0 answers
512 views

Sitecore JSS integrated mode performance tuning

I hope you all are doing well and safe. Today I am here to ask a question specific to Sitecore JSS performance. Category - Sitecore JSS integrated mode, performance issue Sitecore Version - 9.2, ...
Sachin Dabas's user avatar
5 votes
1 answer
5k views

Sitecore Implementation - HTML Cache Control Setting options

We are building a very transnational membership portal on sitecore platform. So Rendering output caching is not a good option for us. Per this htm-caching guideline (https://developers.google.com/web/...
Nil Pun's user avatar
  • 2,263
5 votes
2 answers
342 views

Is there a downside to enabling the Sitecore Pipeline Profiler?

The Sitecore Pipeline Profiler is disabled by default. What is the performance impact when enabling it? Is it recommended to only do this in development, or can it be safely run in production?
Laver's user avatar
  • 565
5 votes
1 answer
685 views

How to share Sitecore caches (item, data, prefetch,etc NOT session state) on Azure PaaS between Web Apps

I can't find any docs on this so I assume it's not possible, but... If you run Sitecore in Azure PaaS and have scale-out enabled (e.g. you're running 2x S3 instances) then can you have a shared/...
theyetiman's user avatar
4 votes
3 answers
1k views

How to avoid unnecessary calls in 8.2 Content Editor

recently we upgarded to sitecore 8.2 and while selecting an item in the content editor i see so may calls to the server /sitecore/shell/Applications/Content-Editor?ic=Apps%2F48x48%2FPencil.png&...
Prakash's user avatar
  • 1,059
4 votes
2 answers
4k views

Sitecore pre-fetch cache setting clarification

Looks like out of the box prefetch cache setting has item and children set to items which no longer use. I've gone and added below on both master and web database settings. <prefetch hint="raw:...
Nil Pun's user avatar
  • 2,263
4 votes
2 answers
937 views

Performance issue when inserting item to Lucene index

I have a Sitecore 8 instance with a bucket with aprox. 150K items, and like 200K total. Publishing is working very slow. I mean, really slow, sometimes 5 items per second. I've stripped all code we ...
Mat-Tap's user avatar
  • 193
4 votes
2 answers
729 views

How to refresh prefetch cache?

How prefetch cache update its cached item, If I change the content of Sitecore item? And also other ways of prefetch cache refreshing?
user3024615's user avatar
4 votes
1 answer
599 views

Duplicate Items In Specific Languages

Is there an efficient way to copy a subtree of items but only keep language versions from the original items that a user chooses? Currently I have a process which duplicates items and then removes the ...
Teeknow's user avatar
  • 2,477
4 votes
1 answer
590 views

Disabling the Glass lambda cache

I believe an issue we're running into might be related to the lambda cache in Glass - I'm also concerned about the performance ramifications if we were to disable it. Has anyone done this and ...
George Chang's user avatar
  • 1,205
4 votes
1 answer
438 views

Caching Experience Editor JS and CSS

As part of the performance improvements I've been working on for Experience Editor in Sitecore 8.1 I wanted to cache the Ribbon files. I followed the guidance here to put them into the browser cache ...
Adam Seabridge's user avatar
4 votes
1 answer
570 views

VisitorIdentification() is impacting page load time

Upgraded from 7.2 to 9.0.2 and experienced pages are loading slow comparatively. During performance testing used DynaTrace and observed that VisitorIdentification() is taking more than 60% of the ...
Amitabh Vyas's user avatar
  • 2,534
4 votes
0 answers
206 views

SitecoreRequestScopeModule holding many objects leading to memory leak

We are seeing a steady memory growth on our Sitecore 8.2 update 1 application. We had AUTOFAC DI previously and have been completely replaced with Sitecore OOB MS DI. We followed some guidance from ...
Nil Pun's user avatar
  • 2,263
4 votes
0 answers
749 views

Load standard Sitecore JavaScript files asynchronously

Our client wants us to improve the performance of the solution and used https://developers.google.com/speed/pagespeed/insights/ to test it. Now "Google Insights" says: Your page has 2 blocking ...
z00mable's user avatar
  • 611
3 votes
2 answers
1k views

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

So, it turns out the home page of our site has 670 versions so Im looking at removing or archiving most of them. In the Sitecore content editor, if I select Remove all versions (plan is to archive ...
Steve Ward's user avatar
3 votes
2 answers
1k views

Is there a better way of disabling memory monitor hook

I am working on performance tuning for a Sitecore website. My current task is to disable memory monitor hook. For this, I am referring to Sitecore's tuning guide which can be found here. Now, ...
Akshay Mahajan 's user avatar
3 votes
2 answers
458 views

Can prefetch caching help me solve, first page request for every page is slow?

for some reason the first request for every single pages on our site is pretty slow. 2nd hit and subsequent are good. Thinking of applying a patch for CD per below: <?xml version="1.0" encoding="...
Nil Pun's user avatar
  • 2,263
3 votes
1 answer
622 views

Sitecore Experience Profile slow to load

Using Sitecore 8.2 Update 4, Sitecore Experience Profile is not loading (the spinner keeps on spinning) on our Staging server using a Lucene index. This was working fine last week and i guess, it ...
Steve Ward's user avatar
3 votes
1 answer
217 views

ModelBinders vs Sitecore Debug mode

We used ModelBinders.Binders on our project to make resolving of controller action parameters easier and make code more testable. ModelBinders.Binders[typeof(SomeType)] = new SomeTypeModelBinder(); ...
Anton's user avatar
  • 3,711
3 votes
1 answer
417 views

Pre-compilation of Speak Views Required on every application initialize (app start)

I know Speak views (180+) are pre-complied on every app initialize ( application start) which is to optimize the performance of speak component. Also developers can disable them if they need quick ...
Balaji Kuppuswamy's user avatar
2 votes
3 answers
256 views

When to enable Sitecore cache by query string

When should HTML Cache be enabled in Sitecore using "By Query String"? I believe one case would be search. Even in that case, on which component should it ideally be enabled?
samridhi sachdeva's user avatar
2 votes
1 answer
145 views

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

Is there some way to track the number of items read during the execution of a method? If you look at hostname/sitecore/admin/stats.aspx you see values such as "Average Items", "Max ...
Matthew Dresser's user avatar
2 votes
2 answers
2k views

How to disable Content Testing in Sitecore 8.2

I tried to disable Optimization stuff for Experience editor and did everything that described here: https://sitecoresaga.wordpress.com/2016/12/21/disabling-content-testing-in-sitecore-8-2/ and ...
Arbejdsglæde's user avatar
2 votes
4 answers
284 views

Is it possible to preload an image for the hero banner in Sitecore to improve LCP?

We are trying to improve the LCP score of our site and one of the elements we want to optimize is the large image used in the hero banner of each page. Is there a way to set this image to be preloaded?...
Rob Connolly's user avatar
2 votes
1 answer
251 views

Disable __UpgradeHistory rollback (.rlb) creation temporarily

For upgrades, Sitecore stores summary info and a rollback (.rlb) file in Website/temp/__UpgradeHistory for each upgrade that is done to provide a way to undo the package installation. This occurs for ...
jeremyr's user avatar
  • 165
2 votes
1 answer
461 views

Local instance of Sitecore intermittently hangs indefinitely on initialisation following upgrade to Sitecore 9.1

We are experiencing an intermittent problem which causes the initialisation of a local Sitecore instance to hang indefinitely, and we can't seem to figure out what is causing it. It seems to vary in ...
Mitchell's user avatar
2 votes
1 answer
254 views

Load balancing with Azure PaaS on CD

We have a Sitecore 9.2 setup using the S3 profile for the CD with 3 instances scaled out manually. I'm pretty new to managing the PaaS environment, and I'm trying to figure out if the traffic is load-...
Ken McAndrew's user avatar
  • 5,082
2 votes
0 answers
29 views

Is there an impact of using AsParallel in a scheduled task in Sitecore

I know this may be hard to answer out of context, but are there any gotchas or things to be aware of when using AsParallel within a Sitecore scheduled task? We have a scheduled task in our solution ...
Matthew Dresser's user avatar
1 vote
4 answers
514 views

Optimize Homepage Load Speed

Any way I can reduce these numbers? This is the only page that loads incredibly slow compared to others. I enabled Debug in Experience Editor to see this. Sometimes the page loads slow sometimes it ...
Christian's user avatar
1 vote
1 answer
3k views

What could cause Sitecore to use high CPU? [closed]

We are having high CPU issues on our CD servers while running Sitecore 9. The CPU on each server (Quad core 2.6GHz Intel Xeon) are nearly maxed out while the memory usage remains fine. We have load ...
Justin's user avatar
  • 299
1 vote
1 answer
885 views

Does Sitecore website performance improve when serving traffic over HTTP2

Does migrating Sitecore website from IIS 8.5 to IIS 10.0 for gains of HTTP2(Page Load speeds) make site performing well. Does anybody have done test or have experience of doing so, to share here. I ...
Vishu's user avatar
  • 127
1 vote
1 answer
49 views

What is the best practice approach to populating a navigation component

I have been spending a bit of time looking at the Sitecore Debugger. Using this you can see the 'hotspots', the components on the page that take the longest time to load and make the most calls to the ...
Dean OBrien's user avatar
1 vote
1 answer
160 views

When does prefetch cache filled up completely

I was trying to see how much prefetch cache is being utilized on my CD server. I accessed cache status pages and found out that they are not getting filled after restarting the app (I made config ...
Imad's user avatar
  • 235
1 vote
2 answers
2k views

Get Optimized Image in sitecore

I am using below setting in my application to reduce file size, but no luck. Sometimes it is giving bigger than the original size. Media.UseLegacyResizing -> value=true Media.InterpolationMode -> ...
BV Winoya's user avatar