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

Questions tagged [performance]

For questions related to Sitecore application performance, client performance, and other performance-related topics pertaining to Sitecore

Filter by
Sorted by
Tagged with
0 votes
3 answers
70 views

Sitecore shutting down exception - cache are cleared

We are getting this exception frequently on both CM and CD that Sitecore is shutting down and Prefetch and other cache are getting cleared. Sitecore Prefetch master cache max size is 200 MB and when ...
0 votes
1 answer
144 views

HTML rendering cache performance logs

Recently, our Prod environment caused downtime due to some caching issue as reported by the agency that hosts our application. Sitecore support asked us to enable HTML Rendering Cache on select ...
2 votes
1 answer
164 views

Sitecore 9.1.1 Database CPU crashing ocassionally - XDB query in suspect

I am having trouble debugging why my CPU utilization occasionally reaches 100%! The query I see which is taking time is ... RETURN ( SELECT TOP 1 [xdb_refdata].[DefinitionMonikers]....
1 vote
1 answer
65 views

Is there a setting that limits amount of parallel image resizes? When there are multiple images on a page performance is really slow

On Sitecore 8.2 I have a situation where images are taking way longer than expected to get served by Sitecore. Lets say I have a page with 10 images, all SVGs under 1kb. 3 images take 50ms 3 images ...
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 ...
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 ...
1 vote
1 answer
55 views

Is there some way to measure number of items read per item in the Content Editor

I'm wondering if there is any diagnostic tool, or technique which can be used to work out how many items are read from the DB for each item loaded in the content editor. I'm thinking of a Content ...
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?...
0 votes
0 answers
173 views

Sitecore 10.1 slow sites after the migration from Sitecore 8.2

We migrated to Sitecore 10.1 from Sitecore 8.2. Every site loading for the first time seems to be pretty slow. The initial load takes 15 to 30 seconds on average and it's the type document which takes ...
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 ...
1 vote
4 answers
515 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 ...
2 votes
1 answer
93 views

Disabling the Usage button that show associated content used number on the experience editor

We have a shared datasource item that has been used many times on a component across the site. When click the component on the experience editor, the browser freezes. Is there anyway to disable the &...
4 votes
3 answers
490 views

Sitecore 10.1 xConnect collection database multi-region scaling read-only performance

I have a multi-region Sitecore deployment with CDs in the US and the UK using Sitecore 8.2 with MongoDb as the xDb, like this: UK US CD1 ...
1 vote
0 answers
71 views

Sitecore 9.0.2 and Azure PaaS based live website gives '502' error few times in a day

We have our public website in Sitecore 9.0.2 and it is in Azure PaaS infrastructure, from last few days the website gives '502 following error message' at specific times in a day(8 (am or pm), 9(am or ...
0 votes
1 answer
94 views

Get Experience Forms Performance statistics using API

Is there an API to use the form performance? I'm using Sitecore 9.3.
17 votes
2 answers
2k views

Slow cshtml compilation on Azure WebApps

We are having serious issues in the startup (boot) time of our application. After carefull investigation we have discovered that the most time is consumed by first-time-visit compilation of the ...
3 votes
2 answers
211 views

What part of the sitecore PAAS setup is using redis?

We're using Sitecore 9.1 and are having some issues with our session management. After changing it from Redis to InProc (both session-state and shared session-state), the issues disappeared. What ...
1 vote
1 answer
45 views

Is the class PerformanceCounters.DataCount thread safe

Is the Diagnostics class Sitecore.Diagnostics.PerformanceCounters.DataCount thread-safe (or perhaps, I mean accurate in the context of multiple threads). I noticed that it is used by Sitecore to track ...
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 ...
6 votes
3 answers
2k views

Best Practice around <applicationInitialization> for Sitecore WebApps

Is there any best practice or recommendation around applicationIntialization? Should we use this? What is the best way to warm up or improve start up time of CMS and CD website after swap deployment ...
2 votes
1 answer
683 views

IndexingStateSwitcher Job Never Ends

We are suddenly experiencing a problem with Sitecore never starting up. It looks like the last meaningful line in the log is that the IndexingStateSwitcher job starts, however, it never ends. In our ...
1 vote
0 answers
78 views

Is there a way to load multiple renderings in homepage/dashboard parallel in Sitecore 9.1?

Home page has about 15 renderings with each controller rendering calling different API for analytical data (external systems for graph,charts ,summarized data) hosted on Sitecore 9.1 Average max time ...
4 votes
2 answers
487 views

Azure database refdata high intermittent load

We've been running a SC9.1 solution on PAAS for a while now, but have recently noticed intermittent slow response times, both on the CD and the CM. We've correlated it to high load on the refdata-db: ...
4 votes
1 answer
443 views

DTU shooting up after application start in Azure PAAS Sitecore 9.0.2

We are observing that DTUs are shooting up while the application startsup in Azure PAAS environment, however the frequency is not consistent- sometime we restart the webapp explicitly and sometime it'...
3 votes
0 answers
554 views

High CPU usage & Lock Contention Rate on Content Delivery servers

We have a performance problem on our site. Project infrastructure: 2 Azure Regions, Each region has 3 CD servers, Each CD server is Intel Xenon 2,40 GHz 16 logical processors, 112 GB of RAM. We ...
3 votes
2 answers
1k views

Bundling and Minification of Javascript and CSS files

How to perform bundling and minification of Javascript and CSS files kept in sitecore/media library path.
10 votes
1 answer
1k views

Sitecore Debug Mode [closed]

What are the differences of code/pipeline execution in Sitecore side, when we run on debug mode compared to normal page request? Facing a strange issue where normal page request takes long time to ...
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 ...
4 votes
2 answers
479 views

Sitecore Azure Cachingservices Sizing on Prod Based on number of CD servers

Is there any rule of thumb on the number of caching services to have with Content delivery servers. Like 2 Cache services with 1 CD in Azure PAAS. Asking this question, because one of our clients ...
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 ...
8 votes
2 answers
4k views

Is there any known performance difference between Item.Axes.GetDescendants() and recursive Item.GetChildren()?

I was wondering if there is any known difference (mostly performance related) between those two methods of retrieving all children of a given Item. The first one will give me all levels of children in ...
2 votes
1 answer
725 views

Connection keep-alive not coming in Response Header - Sitecore 9.0.1 -Windows Server 2016 - GTMetrix report

I have enabled allowKeepAlive setting for my application on IIS by set common header (as shown below) but getting connection as close every time in response header. My application is developed using ...
6 votes
3 answers
1k views

DatasourceUsagesCount request slowing down Experience Editor

I am using Sitecore 8.2. The Experience Editor has a feature called as "Usage" which appears in the widget that shows when we select a component/rendering. The purpose of the usage functionality is to ...
4 votes
1 answer
362 views

Sitecore 9.1 CD servers locking up randomly

I have a long running ticket open with Sitecore, but am just looking for more ideas. I have two brand new 9.1 CD servers in a Content Delivery role. The site can run fine for weeks. Then sometimes ...
0 votes
1 answer
103 views

Sublayouts always rendering even when Visible=false, causing performance issues

I have a page template that dynamically renders all the datasource items that are in its Components folder. The way the page works is that there are no components in the placeholder settings on the ...
9 votes
3 answers
1k views

Sitecore 8.2 memory leak with autofac DI on load test

We implemented the Autofac to work with Sitecore default DI implementation by following the guide below: https://doc.sitecore.net/sitecore_experience_platform/developing/developing_with_sitecore/...
1 vote
1 answer
196 views

Does Federated Authentication improve persistent user performance?

In Sitecore 9, does Federated Authentication improve the performance limitations for persistent users? It appears to wrap around .NET Membership, which is the same as previous versions. (Credit goes ...
3 votes
1 answer
316 views

Sitecore.Pipelines.HttpRequest.EnsureServerUrl Processor very slow

I have a multi-site Sitecore instance (Sitecore 8.2), and one of the sites is very slow to load. I enabled Pipeline profiling, and saw that the httpRequestBegin pipeline is taking a large majority of ...
5 votes
1 answer
2k views

SwitchOnRebuild with SolrCloud not working

We are running Sitecore 9.0.0 (Initial Release) on Azure with SolrCloud (6.6.2) and getting close to go-live. We are using Sitecore's SwitchOnRebuild functionality for indexing so that the indexes ...
6 votes
1 answer
1k views

How can I improve startup times content management in Azure PaaS?

On our Sitecore 9.0.1 in Azure PaaS, we notice that the first load of pages in the sitecore backend (login, desktop, experience editor, content editor) takes a lot of time. For now we implemented some ...
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 ...
5 votes
2 answers
471 views

Sitecore infrastructure question

My client needs a site which can sustain load of 3 million views a day. We asked them if they know, what a spike per second would look like but they do not know the answer to that. They said from 3 ...
8 votes
3 answers
728 views

WARN Could not register counter in HealthMonitor warnings in logs

I'm seeing a ton of these messages in my logs all the time. How can I clear them up? Heartbeat 13:07:35 WARN Could not register counter in HealthMonitor. Category: .NET CLR Memory, Name: # Bytes ...
4 votes
3 answers
3k views

Effective way to resolve the EventQueue, CPU and memory load related issue

I have hundreds of thousands items in Sitecore, sometimes it needs to publish all of them and as the result CPU and memory are overloaded. The reason of the perfomance issue is a huge amount of items ...
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(); ...
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, ...
7 votes
1 answer
476 views

Performance Issue With Facets

We are having some performance issue when setting Datasources and Linking items in Sitecore 8.2. The test server just hangs when trying to expand a node in the dialog box. The CPU spikes to 100% and ...
10 votes
1 answer
208 views

After applying the Q3 2016 Security Update our sites went down

As you all might know Sitecore issued a critical security hotfix, after applying the fix to our client sites, most of them went down for on average 30 minutes before going back up again, and one of ...