首页 > 解决方案 > 获取 Sitecore 缓存详细信息

问题描述

我有一个需要获取缓存详细信息的要求,其中包括:

分析当前系统缓存,包括 CDN 设置、启用的 HTML、数据缓存等,缓存建议无效。

我需要在非 Sitecore 应用程序(如 Windows 应用程序)中获取 Sitecore 实例缓存详细信息。

在非 Sitecore 应用程序中获取 Sitecore 实例详细信息的选项有哪些

我应该向非 Sitecore 应用程序提供哪些输入以获取 Sitecore 实例详细信息。

非 Sitecore 应用程序将用作获取 Sitecore 应用程序(Sitecore 实例)详细信息(如管道、工作流、缓存等)的工具。

您的帮助将不胜感激。

提前致谢。

标签: cachingsitecore

解决方案


管理工具 Sitecore 提供了一个基本的缓存监控页面。 /sitecore/admin/cache.asp 和许多其他工具见/sitecore/admin/

性能计数器 您可以使用 Windows 性能计数器:请参阅 https://sitecorebasics.wordpress.com/2014/10/25/sitecore-8-0-performance-counters/

关于 Azure 应用程序洞察,请参阅https://doc.sitecore.com/developers/91/sitecore-experience-management/en/configure-application-insights-post-deployment.html

日志文件 日志文件 中有很多信息,http://sitecore-community.github.io/docs/documentation/Sitecore%20Fundamentals/Logging/ 或 Azure 应用洞察https://doc.sitecore.com/developers/ 91/sitecore-experience-management/en/analytics.html

自定义管理页面 您可以轻松创建自己的管理页面,其中包含您要监控的详细信息。对于缓存,您可以在代码中使用 Sitecore.Caching.CacheManager。

Sitecore 事件和管道 Sitecore 易于使用自定义代码进行扩展,您还可以轻松地为您的 Windows 应用程序添加额外的日志记录。通过订阅事件https://sitecore-community.github.io/docs/pipelines-and-events/events/ 或向管道添加额外的进程。http://sitecore-community.github.io/docs/pipelines-and-events/pipelines/


推荐阅读