顯示 Dev Proxy 在指定時間內攔截相同要求時所顯示的警告。
外掛程式實例定義
{
"name": "CachingGuidancePlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll",
"configSection": "cachingGuidance"
}
組態範例
{
"cachingGuidance": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/cachingguidanceplugin.schema.json",
"cacheThresholdSeconds": 5
}
}
組態屬性
| 財產 | 描述 | 違約 |
|---|---|---|
cacheThresholdSeconds |
觸發指引警告之相同要求之間的秒數。 | 5 |
命令行選項
沒有