caching - 获取 Sitecore 缓存详细信息
问题描述
我有一个需要获取缓存详细信息的要求,其中包括:
分析当前系统缓存,包括 CDN 设置、启用的 HTML、数据缓存等,缓存建议无效。
我需要在非 Sitecore 应用程序(如 Windows 应用程序)中获取 Sitecore 实例缓存详细信息。
在非 Sitecore 应用程序中获取 Sitecore 实例详细信息的选项有哪些
我应该向非 Sitecore 应用程序提供哪些输入以获取 Sitecore 实例详细信息。
非 Sitecore 应用程序将用作获取 Sitecore 应用程序(Sitecore 实例)详细信息(如管道、工作流、缓存等)的工具。
您的帮助将不胜感激。
提前致谢。
解决方案
管理工具
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/
推荐阅读
- c - 线程 1:signal SIGABRT - Xcode 在执行后崩溃
- php - Composer:非空 PSR-4 前缀必须以命名空间分隔符结尾
- python - 调整梯度提升分类的自定义损失函数
- assembly - commodore 64 smooth scroller on line 1 - is jumping around on the screen if interrupt set on line #0
- java - 带有 Java 的 JSON;将 JSON 对象转换为要通过 Java 套接字发送的 Java 字符串
- jsf - 即使在使用项目阶段和过滤器后,我的 js/css 缓存也无法正常工作,标题日期总是得到更新
- assembly - Round floating-point numbers in NASM
- python - 我在 tkinter 中的按钮不起作用!尝试了一切
- android - 过滤后recyclerview上的searchfilter得到错误的项目选择问题
- r - 使用 R 的凝聚层次聚类