Which version of APISIX are you using? Did you notice this feature: https://github.com/apache/apisix/blob/master/docs/en/latest/terminology/plugin.md#dynamically-control-whether-the-plugin-is-executed? Can you see if it meets your needs
Sun Qi <vtavg2...@gmail.com> 于2023年4月20日周四 09:39写道: > > Hi Dev team, > I need this plugin to support "var" conditional filtering to add a > request header for some special requests, but I found that this plugin does > not support it, but another plugin “response-rewrite” supports "var" > conditional filtering. My question is whether it is technically possible, > and the second is whether it is necessary. I plan to add this feature. -- *Shirui Zhao* My GitHub: https://github.com/soulbird