Skip to main content
Share Your Experience: Take the 2024 Developer Survey
17 votes

Sitecore Page - First request on every page slow

It could be that you just have a dodgy rendering that is running on every page and is then cached for that page; to see if this is the case you can profile Sitecore pages. You can investigate this by ...
Steven Newstead's user avatar
17 votes
Accepted

Slow cshtml compilation on Azure WebApps

By default Sitecore doesn't use the Roslyn compiler nuget package Microsoft.CodeDom.Providers.DotNetCompilerPlatform, and instead will use the version of Roslyn installed on the system. I've seen a ...
Mark Gibbons's user avatar
  • 5,632
12 votes

Sitecore Page - First request on every page slow

Possible answers to 1,2,3... Sounds like you need to do a bit of tuning on your caches. Sitecore has a number of "admin" pages which help you diagnose problems such as this - you can use the cache ...
Phil Burton's user avatar
  • 1,314
11 votes

SwitchOnRebuild with SolrCloud not working

Okay - so we've got to the bottom of this and it looks like it was just a misconfiguration issue when using SOLR cloud. I'm posting this here for reference: Rebuilding the index for SOLR cloud is ...
Steven Newstead's user avatar
10 votes
Accepted

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

I did some benchmarks using those two possibilities. Scenario Fetch 2040 items organized in the following way: Root Item - Bulk Items 1 - Bulk Items 1.1 (100 items) ...
Hugo Santos's user avatar
  • 2,311
10 votes

How do I improve my SXA sites Google PageSpeed Insights Score?

From numerous experiments, I have put together the following tips and tricks. Note that a good score under the desktop tab is considerably easier to achieve, the mobile score in our responsive ...
TomT's user avatar
  • 1,079
9 votes

Slow cshtml compilation on Azure WebApps

To round up this topic, we ended up using the Razor Generator plugin of visual studio. https://github.com/RazorGenerator/RazorGenerator And added the assemblies to the precompilation section in ...
Bart Verdonck's user avatar
8 votes
Accepted

WARN Could not register counter in HealthMonitor warnings in logs

I think this URL speaks to your issue: https://kb.sitecore.net/articles/404548 Among the other suggestions there, try to reload the perf counters: Start an administrator command prompt. Run unlodctr ...
G Killian's user avatar
  • 1,309
8 votes

DatasourceUsagesCount request slowing down Experience Editor

I agree with you, datasource count sometimes makes no sense. But from what I know there is no config which you could use to hide this functionality. You can remove this call by editing this file: ...
Marek Musielak's user avatar
  • 23.8k
6 votes

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

You can usually improve this by tuning the settings for our queues. A good post in this can be found here: https://briancaos.wordpress.com/2016/08/12/sitecore-event-queue-how-to-clean-it-and-why/ ...
Gatogordo's user avatar
  • 20.1k
6 votes
Accepted

DatasourceUsagesCount request slowing down Experience Editor

I just put a ticket in with Sitecore for this last week. Here is the fix from Sitecore. The fix allows you to pick how long the call will wait before it return a *+ result with no count. The ...
Chris Auer's user avatar
  • 13.1k
5 votes
Accepted

Best Practice around <applicationInitialization> for Sitecore WebApps

I can give some input regarding App Initialization in general on Azure App Service: During slot swap, you don’t want your 'preprod' to be activated into production (swap) without having been warmed ...
Katrien De Graeve's user avatar
5 votes

Sitecore infrastructure question

You're going to need a more than 10 servers to do 2M hits per second. Assuming each page is 100 hits, you need to serve 20k pages each second. Caching strategies will be critical. MongoDB is going to ...
Richard Hauer's user avatar
5 votes
Accepted

After applying the Q3 2016 Security Update our sites went down

As the comments on the question rightly point out; there could be a number of potential sources for this event that happened to you. As such, I don't know if a real answer could ever be found. That ...
Mark Cassidy's user avatar
  • 25.3k
5 votes

Limiting version numbers/copying old versions to archive for easy access

Update: I've recently written about this on my blog and created an SPE script with quite a nice UI to do this for you: http://www.flux-digital.com/blog/removing-unneeded-sitecore-versions-spe/ To add ...
Adam Seabridge's user avatar
5 votes

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

Much faster way is to get descendants from index. Query would be get all items that Path starts (contains) the same as current item + ID of item is different to current one. Something like this: ...
Peter Procházka's user avatar
5 votes

Optimize Homepage Load Speed

You can try below things Put Sitecore cache on particular component. Check if unnecessary JS and CSS files rendered on page, tried to render those in optimize format. It will help you to improve page ...
Rishiraj Shekhawat's user avatar
4 votes

WARN Could not register counter in HealthMonitor warnings in logs

There is a very good article on https://community.sitecore.net/developers/f/8/t/531 which deals with the same issue. I actually followed it up last year and it solved the issue that you are having as ...
Una Verhoeven's user avatar
4 votes
Accepted

Is there a better way of disabling memory monitor hook

You could use a patch file to do this too. Using the <patch:delete /> method: <hook type="Sitecore.Diagnostics.MemoryMonitorHook, Sitecore.Kernel"> <patch:delete /> </hook>...
Richard Seal's user avatar
  • 20.5k
4 votes
Accepted

Sitecore 8.2 memory leak with autofac DI on load test

We managed to identify the root cause of our memory leak. With help of MS and Sitecore, memory dump had lots of our controller and services hanging off of Root scope. By design the sitecore disposes ...
Nil Pun's user avatar
  • 2,293
4 votes
Accepted

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

I have consulted with Sitecore support on this. Regarding resources, all of them are important: Memory, CPU, Disk Latency and Database DTU's. I have also checked my cache settings and noticed there ...
Bart Verdonck's user avatar
4 votes
Accepted

Sitecore.Pipelines.HttpRequest.EnsureServerUrl Processor very slow

This ended up being a DNS issue; the site name was not being resolved properly. I took @maz's advice and called [System.Net.Dns]::GetHostEntry("siteHostName") in PowerShell (I didn't have Sitecore ...
Alex's user avatar
  • 133
3 votes

Is there a better way of disabling memory monitor hook

Richard's answer is absolutely correct. It removes the memory monitor hook completely. If you want to disable it only, you can change the Check Interval attribute only with 00:00:00 value. Just ...
Marek Musielak's user avatar
  • 23.8k
3 votes
Accepted

Limiting version numbers/copying old versions to archive for easy access

Trigger Auto-Archiving You could write a publish:end:remote event that kicks off some logic to find all item versions "eligible for archiving," based on your criteria. You can then archive those ...
Zachary Kniebel's user avatar
3 votes

AcquireRequestState causing slow page load times

Session locking only affects requests from a single source. It's more evident in load testing than it is in real world situations, since most of the traffic is coming from a single source, or ...
Richard Hauer's user avatar
3 votes
Accepted

Sitecore 9.1 CD servers locking up randomly

No one is going to like this answer, but Sitecore resolved it by disabling FXM site manager. In the file App_Config\Sitecore\FederatedExperienceManager\Sitecore.FXM.config they removed the section ...
Chris Auer's user avatar
  • 13.1k
3 votes

DTU shooting up after application start in Azure PAAS Sitecore 9.0.2

I was suffering from a similar issue for the SQL server for different databases. Below are the details. Cloud Environment: Sitecore Managed Cloud XP-Small and XP-Medium Sitecore Version: Sitecore 9....
Nikhil Kulkarni's user avatar
3 votes

Optimize Homepage Load Speed

There are a few things you can check on the front end side and Sitecore side. Front End In the front end, there are multiple tools are available to check performance on mobile and desktop which also ...
Swati Gupta's user avatar
  • 3,135
3 votes

How to set the JVM Memory for Solr running on an Azure App Service

In order to do this I found I needed to pass an command argument -m in the web.config where the start command is issued like so: <httpPlatform processPath="%HOME%\site\wwwroot\bin\solr.cmd&...
Adam Seabridge's user avatar
2 votes

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

Microsoft is going to retire Azure In-Role Cache on 30-Nov-2016, which Sitecore Azure module uses as a storage for session data. It's recommended upgrading the module to the latest version of 8.0 rev. ...
ob1dev's user avatar
  • 1,088

Only top scored, non community-wiki answers of a minimum length are eligible