Questions tagged [performance-optimization]
For questions relating to optimizing the performance of a solution.
78
questions
0
votes
3
answers
71
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 ...
1
vote
0
answers
60
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
37
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
258
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
51
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
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 ...
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
2
answers
184
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
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
162
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 ...
0
votes
1
answer
145
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
4
answers
516
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
87
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
135
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 ...
0
votes
1
answer
82
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
238
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
141
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 ...
1
vote
1
answer
175
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 ...
2
votes
1
answer
464
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
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 ...
1
vote
1
answer
281
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
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 ...
2
votes
1
answer
255
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-...
6
votes
0
answers
517
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, ...
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 ...
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 ...
1
vote
1
answer
436
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 ...
0
votes
1
answer
617
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
578
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 ...
4
votes
1
answer
571
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
186
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
104
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 ...
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 ...
1
vote
1
answer
502
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 ...
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. ...
1
vote
0
answers
102
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
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 ...
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/...
0
votes
1
answer
393
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: ...
4
votes
2
answers
730
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?
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 =...
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 ...
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 ...
2
votes
1
answer
252
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 ...
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
...
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 ...
3
votes
1
answer
218
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, ...