Proxy Cache Plugin - Include/Exclude cache based on response attributes

Hi,
We came across some use-cases for us to include/exclude specific request/response pairs from cache via response attributes.
e.g.
cache response only if JSON body include a field “errorCode” that equal “100”

Example of possible configuration support (for clarification)
plugins:

  • name: proxy-cache
    service:
    config:
    response_code:
    • 200
      request_method:
    • GET
    • HEAD
      content_type:
    • application/json
      cache_ttl: 300
      include_only:
      body:
      content_type: application/json
      key: errorCode
      value: 100