Hi: If the user did not enable those plugin, we do not generate the conf/nginx.conf content required by these plugins in bin/apisix.
I make a test if we can remove the related nginx.conf for plugin proxy-cache and proxy-mirror, the apisix will better performance. I think we can disable them in this way, and the user can enable them by manual(require `apisix restart`). ```yaml plugins: # plugin list # - proxy-cache # - proxy-mirror - example-plugin - limit-req - limit-count ``` On Sat, Aug 1, 2020 at 8:01 PM agile6v <agil...@apache.org> wrote: > Hi YuanSheng > > AFAIK, If these plugins are not configured through the admin api, they > will not be enabled by default. Also How is the 10% performance loss > verified? > > Thanks. > > On 2020/08/01 05:53:01, YuanSheng Wang <membp...@apache.org> wrote: > > Hi: > > > > if we disable plugin `proxy-cache` and `proxy-mirror` and remove them > from > > `conf/nginx.conf`, > > It will increase APISIX performance by 10%. > > > > proxy-cache conf [1] > > proxy-mirror conf [2] > > > > I think this is useful for most users. > > > > [1] https://github.com/apache/apisix/blob/master/bin/apisix#L462 > > [2] https://github.com/apache/apisix/blob/master/bin/apisix#L490 > > > > -- > > > > *MembPhis* > > My GitHub: https://github.com/membphis > > Apache APISIX: https://github.com/apache/incubator-apisix > > > -- *MembPhis* My GitHub: https://github.com/membphis Apache APISIX: https://github.com/apache/incubator-apisix