You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by 松节油 <li...@gmail.com> on 2012/04/06 11:57:22 UTC
How can I tell Traffic Server to cache untransformed content?
hi
In the SDK document "The Sample Null Transform Plugin" have a words:
The default behavior for transformations is to cache the transformed
content (you can also tell Traffic Server to cache untransformed content,
if you want).
So my question is how can I tell Traffic Server to cache untransformed
content?
Thanks lot!
Re: How can I tell Traffic Server to cache untransformed content?
Posted by "Walsh, Peter" <Pe...@disney.com>.
You can use these API's to decide which response is cached...
tsapi void TSHttpTxnUntransformedRespCache(TSHttpTxn txnp, int on);
tsapi void TSHttpTxnTransformedRespCache(TSHttpTxn txnp, int on);
On 4/6/12 2:57 AM, "松节油" <li...@gmail.com> wrote:
>hi
>
>In the SDK document "The Sample Null Transform Plugin" have a words:
>The default behavior for transformations is to cache the transformed
>content (you can also tell Traffic Server to cache untransformed content,
>if you want).
>
>So my question is how can I tell Traffic Server to cache untransformed
>content?
>
>Thanks lot!