共用方式為


CachingGuidancePlugin

顯示 Dev Proxy 在指定時間內攔截相同要求時所顯示的警告。

開發人員 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

命令行選項

沒有