Re: [API Review] Add TSHttpTxnIsCacheable()

2014-02-06 Thread Otto van der Schaaf
+1 I too think it could prove really useful in that light - allowing for tighter integration. Otto On 05 Feb 2014, at 23:41, Leif Hedstrom wrote: > I could imagine for example the page speed plugin to use this

Re: [API Review] Add TSHttpTxnIsCacheable()

2014-02-06 Thread Leif Hedstrom
On Feb 6, 2014, at 9:20 AM, Shu Kit Chan wrote: > so for example, this API will honor settings in records.config, e,g, > > proxy.config.http.cache.cache_responses_to_cookies > > proxy.config.http.negative_caching_enabled > > and tell us whether it is cacheable or not. Right? Correct. It use

Re: [API Review] Add TSHttpTxnIsCacheable()

2014-02-06 Thread Shu Kit Chan
so for example, this API will honor settings in records.config, e,g, proxy.config.http.cache.cache_responses_to_cookies proxy.config.http.negative_caching_enabled and tell us whether it is cacheable or not. Right? That should be useful. +1 On Wed, Feb 5, 2014 at 3:01 PM, Leif Hedstrom wrot

Re: [API Review] Add TSHttpTxnIsCacheable()

2014-02-05 Thread Leif Hedstrom
On Feb 5, 2014, at 3:57 PM, Ethan Lai wrote: > Leif, > > Very useful!!! This is what I need in collapsed connection plugin. Yeah, that makes total sense. > Which ts version will this API be available? 5.0 ? This would land in a few days, as long as it passes the review phase. That means y