Questions tagged [performance-optimization]

For questions relating to optimizing the performance of a solution.

Filter by
Sorted by
Tagged with
14
votes
2answers
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....
12
votes
3answers
3k 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 ...
12
votes
4answers
1k 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 ...
12
votes
2answers
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 ...
11
votes
2answers
3k 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 ...
11
votes
2answers
429 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 ...
9
votes
2answers
5k 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 ...
8
votes
3answers
843 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. ...
8
votes
2answers
135 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 ...
8
votes
4answers
3k 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 ...
7
votes
2answers
2k 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 ...
7
votes
1answer
478 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 ...
6
votes
2answers
4k 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 ...
6
votes
3answers
186 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
1answer
795 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 ...
5
votes
1answer
4k 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/...
5
votes
2answers
243 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?
5
votes
1answer
501 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/...
5
votes
2answers
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 (...
4
votes
3answers
870 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&...
4
votes
1answer
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
2answers
830 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 ...
4
votes
1answer
479 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?
4
votes
1answer
305 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 ...
4
votes
1answer
289 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 ...
4
votes
0answers
168 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
0answers
597 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 ...
3
votes
2answers
805 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 ...
3
votes
2answers
837 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, ...
3
votes
2answers
347 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="...
3
votes
1answer
516 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
1answer
471 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 ...
3
votes
1answer
295 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 ...
3
votes
0answers
119 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 ...
3
votes
0answers
308 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 ...
2
votes
1answer
58 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 ...
2
votes
1answer
202 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
1answer
200 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(); ...
2
votes
1answer
46 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
0answers
26 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
1answer
2k 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
2answers
1k 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 ...
1
vote
2answers
766 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 -> ...
1
vote
1answer
1k 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 =...
1
vote
2answers
2k views

Client caching and gzip settings not working

I am trying to optimize image, js, and css delivery by enabling gzip compression and setting the client cache policy. The issue is, it doesn't seem like any of the settings are being used. Here is the ...
1
vote
1answer
239 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 ...
1
vote
1answer
266 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 ...
1
vote
0answers
108 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. ...
1
vote
0answers
78 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 ...
0
votes
1answer
170 views

Sitecore Habitat Performance

We are about to push a site to live developed using habitat. There are chances that more localization and multi-sites would be developed in future. But some of the default habitat feature will not ...