Monitor and Tune Cache on CD Server

On the CM server, it's easy to monitor the Sitecore cache in CMS and we can tune it accordingly. It's under the Administration tool provided by Sitecore. You can access it directly from the URL i.e. {your-sitecore-instance}/sitecore/admin/cache.aspx OR browse it from the Administrative page.

monitor-tune-cache-cd-server-1
monitor-tune-cache-cd-server-2

But on a Content Delivery server, access to the administrative pages usually is not available hence there is no direct option available to monitor Sitecore Cache for the CD server. In this blog, I will explain how to monitor cache tunning on a CD server.

  1. Go to the CD server and check the App_Data\diagnostics\health_monitor folder.
  2. You will get their file named CacheStatus.20230412Z.141522Z.html where 20230412Z.141522Z is a time stamp. (Sitecore saves a copy of the cache.aspx page every ten minutes)

Note: Most of the cases you will get the file under the folder but in case you cannot find the file then you need to enable it.

  1. Go to the \App_Config\Sitecore\CMS.Core folder on CD server.
  2. Verify that Sitecore.Diagnostics.config file is enabled or not.
  3. Remove the ".disabled" extension of the file to enable it. (The configuration for the health_monitor folder is in this configuration patch.)
  4. Verify your App_Data\diagnostics\health_monitor folder after 10 minutes, you will see the file below. (Its previews from the Azure PaaS portal in the web browser)

monitor-tune-cache-cd-server-3

Now you can monitor your CD server Sitecore cache accordingly. To find out about how to tune cache in Sitecore,  See the blog post- Cache Tunning in Sitecore

Happy Sitecoreing ðŸ˜Š

Comments

Popular posts from this blog

Sitecore Installation Error: Failed to Start Service 'Sitecore Marketing Automation Engine'

Import CSV Data in Sitecore Using PowerShell: Part-3

Sitecore Technology MVP Journey 2022