You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/16 15:06:56 UTC

[GitHub] [apisix] Firstsawyou opened a new issue #2767: DISCUSS(proxy-cache): The cache_zone field in the schema should be optional

Firstsawyou opened a new issue #2767:
URL: https://github.com/apache/apisix/issues/2767


   ### Issue description
   
   The configuration field `cache_zone` of the cache zone in the plug-in is a required item. I think this is unfriendly to some users who are not familiar with this field. They don't know what needs to be done here. In my opinion, `cache_zone` should be optional and have a default value. In this way, for novice users, they do not need to care about what needs to be configured in this field. For familiar users, they can set this field according to their needs.
   
   ```
   ......
   properties = {
           cache_zone = {
               type = "string",
               minLength = 1
           },
   ......
   },
   required = {"cache_zone"},
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] moonming closed issue #2767: DISCUSS(proxy-cache): The cache_zone field in the schema should be optional

Posted by GitBox <gi...@apache.org>.
moonming closed issue #2767:
URL: https://github.com/apache/apisix/issues/2767


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org