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 ...
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 ...
user avatar
  • 4,735
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 ...
user avatar
  • 1,304
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) ...
user avatar
  • 2,211
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 ...
user avatar
  • 1,059
9 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 ...
user avatar
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 ...
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 ...
user avatar
  • 1,279
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: ...
user avatar
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/ ...
user avatar
  • 19.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 ...
user avatar
  • 12.9k
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 ...
user avatar
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 ...
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 ...
user avatar
  • 24.3k
5 votes

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

To add to this, there are some modules out there for archiving versions: https://marketplace.sitecore.net/en/Modules/Version_Manager.aspx There are some good blog posts about options for archiving ...
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: ...
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 ...
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 ...
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>...
user avatar
  • 18.8k
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 ...
user avatar
  • 2,223
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 ...
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 ...
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 ...
user avatar
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 ...
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 ...
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 ...
user avatar
  • 12.9k
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....
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. ...
user avatar
  • 1,088
2 votes

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

My reply does not answer your question directly, because Azure caching is to be defined dynamically according to your load factor. Nevertheless, for the high load website I would personally recommend ...
user avatar
2 votes
Accepted

ModelBinders vs Sitecore Debug mode

I looked how Sitecore timers for debug mode are implemented, and modify my code: public class SomeTypeModelBinder : IModelBinder { public object BindModel(ControllerContext controllerContext, ...
user avatar
  • 3,386

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