共用方式為


CachingGuidancePlugin

當 Dev Proxy 在指定的時段內攔截相同的要求時,會顯示警告。

具有開發人員 Proxy 快取指引外掛程式之命令提示字元的螢幕快照,其中顯示有關發出太頻繁之要求的警告。

外掛程式實例定義

{
  "name": "CachingGuidancePlugin",
  "enabled": true,
  "pluginPath": "~appFolder/plugins/dev-proxy-plugins.dll",
  "configSection": "cachingGuidance"
}

設定範例

{
  "cachingGuidance": {
    "cacheThresholdSeconds": 5
  }
}

設定屬性

屬性 描述 預設
cacheThresholdSeconds 觸發指引警告之相同要求之間的秒數。 5

命令列選項