Questions tagged [performance-optimization]

For questions relating to optimizing the performance of a solution.

Filter by
Sorted by
Tagged with
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 ...
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 ...
7 votes
0 answers
567 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, ...
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 ?
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 ...
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?
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 ...
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 ...
4 votes
1 answer
455 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 ...
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 ...
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 ...
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 ...
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?...
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 ...
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 ...
1 vote
1 answer
260 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
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 ...
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 ...
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 ...
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:...
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?
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 ...
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 ...
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 ...
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-...
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 ...
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 ...
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 ? ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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: ...
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 ...
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 ...
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. ...
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 ...
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 ...
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 ...
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. ...
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 (...
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 ...
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 -> ...
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 ...
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 =...