+1 Sounds reasonable! On Tuesday, February 2, 2021, 02:15:17 PM PST, vijay mamidi <vijaybhaskar.mam...@gmail.com> wrote: I propose TSHttpTxnServerRespNoStoreGet API as an addition to the InkAPI. ( https://github.com/apache/trafficserver/pull/7439)
Usage : A plugin can use TSHttpTxnServerRespNoStoreSet to make ATS not cache the Origin Server's response. Traffic Server does the right thing using the flag api_server_response_no_store, but there is no API to 'get' this flag for other plugins to use it. This PR provides 'GetAPI' for the flag set by TSHttpTxnServerRespNoStoreSet. For example, the cache promote plugin uses this API, and I plan to use this in my new experimental plugin, https://github.com/apache/trafficserver/pull/7470. This plugin tries to reduce the origin server's impact on incoming requests by filling the cache asynchronously. Thanks, Vijay