On Tue, Nov 5, 2019 at 9:08 PM Ming Wen <[email protected]> wrote: > hi, yuansheng, > IMO, TTL route will brings 2 issues: > 1. break idempotent of admin API
The current admin API is not idempotent, eg: POST method. > 2. can not implement in stand-alone mode > In standalone mode, I don't think TTL feature is needed yet. If it is really needed, we can also support this. > > What's your opinion? > > Thanks, > Ming Wen, Apache APISIX > Twitter: _WenMing > > > YuanSheng Wang <[email protected]> 于2019年11月4日周一 下午2:51写道: > > > Hi guys: > > > > Currently, all API gateways do not have a temporary policy. But I think > > this feature will be very useful in some situations. > > > > For example, the following situations: > > > > * session ticket: The key is updated every hour and is invalid after more > > than two hours. > > * temporary route: A route with TTL, expired automatically. It can be > used > > for grayscale publishing and temporary data sampling. > > > > What do you think? > > > > -- > > *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
