显示开发代理在指定时间段内截获同一请求时出现警告。
插件实例定义
{
"name": "CachingGuidancePlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
"configSection": "cachingGuidance"
}
配置示例
{
"cachingGuidance": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/cachingguidanceplugin.schema.json",
"cacheThresholdSeconds": 5
}
}
配置属性
财产 | 描述 | 违约 |
---|---|---|
cacheThresholdSeconds |
触发指导警告的相同请求之间的秒数。 | 5 |
命令行选项
没有