Questions tagged [performance-optimization]

For questions relating to optimizing the performance of a solution.

Filter by
Sorted by
Tagged with
1 vote
0 answers
80 views

Web Worker vs Service Worker

For implementing GTM/Metarouter via CDN through a separate thread is it advisable to use a Service worker or a web worker ?
samridhi sachdeva's user avatar
0 votes
0 answers
48 views

Web Worker or service worker implementation with SItecore

Lighthouse suggests to reduce main thread work to improve site performance, to do so one of the possible options is to use a web worker or service worker I am using Sitecore 10.1 on Pass and tried to ...
samridhi sachdeva's user avatar
2 votes
3 answers
425 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
0 votes
2 answers
56 views

Is Sitecore_Web_Index mandatory?

I have a Sitecore (9.3) JSS based Multisite environment (10+ regional sites). Each site has a separate index, as well as the Sitecore Web index and Sitecore Master index. The Sitecore Web index now ...
Sivalingaamorthy's user avatar
1 vote
1 answer
59 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,358
1 vote
1 answer
73 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 ...
Matthew Dresser's user avatar
2 votes
4 answers
373 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
0 votes
2 answers
306 views

Dianoga image optimization error for few of the images

Getting the below error in Dianoga logs. The version used is 5.4.1 - ERROR Dianoga: Could not resize image as it was larger than the maximum size allowed for memory processing Also, the load time of ...
Swathi's user avatar
  • 11
0 votes
0 answers
212 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 ...
Owais Ahmed's user avatar
1 vote
1 answer
261 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
0 votes
1 answer
222 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 ...
Christian's user avatar
1 vote
4 answers
695 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
0 votes
0 answers
117 views

Extend AssetLinksGenerator.GenerateLinks to serve .gz files

My site is performing very slow. Google Page Speed suggests to use a few optimization algorithms, one of them is GZip. I have created some theme assets using this algorithm and imported my theme. Now ...
Imad's user avatar
  • 235
0 votes
1 answer
179 views

Performance issue on page load Sitecore.Analytics BLOCKED_TIME

Background of Infra/Software: Sitecore Product Version: 9.2 Sitecore XP Scaled topology used. Infrastructure Type: Azure App Service / PaaS inside Isolated ASE Issue: Experiencing slowness in Page ...
Ratish K R's user avatar
0 votes
1 answer
119 views

dictionary.dat file keeps getting deleted when browsing site

Whenever I publish my dictionary items, I see the dictionary.dat file getting created. However, whenever I browse the site, the file gets deleted. I can see that happen in real time. What might be ...
Marcel Gruber's user avatar
1 vote
0 answers
258 views

Sitecore page load slowness

I'm using Sitecore instance 9.1, Solr 7.2.1, and SXA 1.8. I have deployed the environment on Azure and while monitoring incoming requests (to CD instance), I've noticed slowness in loading some pages ...
mamhh's user avatar
  • 53
0 votes
1 answer
165 views

How Sitecore 9.02 event queue agent configuration properties impact the event queue cleanup activity

Actually, I need to know the significance of the properties related to event queue agent configuration, below is an example of the agent configuration. My Understanding: Interval: How often we need ...
Nash's user avatar
  • 71
1 vote
1 answer
213 views

SXA Optimized Items Not Created Completely. Core Database error

In 9.3 we are seeing the base themes not always generating the optimized items. The weird thing it will create the item, but never have the code attached. We see the following in the logs. Why is the ...
RReilley's user avatar
  • 755
2 votes
1 answer
557 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
170 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
1 vote
1 answer
311 views

Sitecore optimization for local development

We have big Sitecore solution that is taking long time to load. We need to optimize the code obviously. But from pure Sitecore configuration point of view, what we can adjust for local development ? ...
gringo_dave's user avatar
1 vote
0 answers
79 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 ...
Avinash J's user avatar
  • 313
2 votes
1 answer
275 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,092
7 votes
0 answers
568 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
4 votes
0 answers
216 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,283
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
1 vote
1 answer
452 views

High CPU and Memory with 2 million glass disposables

We have been seeing the high CPU and constant growth of memory. When analyzing the memory dump I noticed that the memory is occupied by 2 million Glass Mapper objects. Has anyone faced this issue and ...
Nil Pun's user avatar
  • 2,283
0 votes
1 answer
648 views

Want to disable Content Testing in Sitecore 9.0.1, having issues patching configuration

I've been asked by my client to disable content testing in Sitecore, as it will not be used in the near future and the hope is disabling it will improve site performance. I've searched the ...
Frank Rosario's user avatar
0 votes
1 answer
654 views

Too many media items in single node creating performance issue

We are facing lot of issues related to Media library dialog box such as below- Media dialog box takes too much time to load Saving Item takes time after updating image in experience editor Tree node ...
Jitendra Ghanekar's user avatar
4 votes
1 answer
597 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,554
1 vote
0 answers
204 views

Glass GetRenderingParameters SQL query

We are using the method GetRenderingParameters<T>() from Glass in many different places in our code. This method works correctly, it returns the rendering parameters as a strongly typed object. ...
Jeroen's user avatar
  • 1,214
0 votes
1 answer
107 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 ...
Erica Stockwell-Alpert'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
  • 301
1 vote
1 answer
536 views

How can I define custom folder pathing on RazorGenerator precompiled views?

Our solution, where after compiling locally, copies the views from the standard /view folder in the build output into a /client/views folder on in the web root. We're looking to take advantage of the ...
Steve Montgomery's user avatar
6 votes
3 answers
404 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
1 vote
0 answers
104 views

SXA Search Performance

I am using SXA 1.7, we are using 4 search results component in the page and we can find that the performance degrades after logging to the system with 10 users. IIS worker process is consuming about ...
NAli's user avatar
  • 851
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
  • 159
2 votes
0 answers
30 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
5 votes
1 answer
702 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
0 votes
1 answer
405 views

Getting warning in Sitecore Logs : [Experience Analytics]: Reducing segment

Getting below warning in the Sitecore logs, Current using Sitecore version 8.2 update 4 10688 01:24:44 INFO [Experience Analytics]: Reducing segment: 'd8ba6f18-d0da-4cbb-b51f-8741c0fe9540' on date: ...
Singh's user avatar
  • 73
4 votes
2 answers
777 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
1 vote
1 answer
2k views

Casting of SitecoreContext vs SitecoreService Which is fast?

In my project I am using following code to cast items. After some time, I came to know there are two way we can cast using SitecoreService and using glass mapper Sitecore Context. results.Select(p =...
user3024615's user avatar
10 votes
7 answers
6k 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
1 vote
1 answer
924 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
2 votes
1 answer
260 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
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
3 votes
1 answer
630 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
220 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,771
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
4 votes
1 answer
620 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