On Thu, Apr 4, 2013 at 2:44 AM, Brendan Webb <[email protected]> wrote:

> I'm running ATS 3.0.4 in front of IIS 7.5.
>
> Is there a way to tell ATS not to cache 406 responses?
>

AFAIK, if you can add a "Cache-Control: no-cache" header on IIS for 406
response, ATS will not cache it.

If unable to configure on IIS, you can try to add that header on ATS with
the experimental "header_rewrite" plugin when reading 406 response from
IIS .  (You can have a try. I did't test it and don't know if the plugin
build well on your 3.0.4 environment.)

ref:
https://github.com/apache/trafficserver/tree/master/plugins/experimental/header_rewrite
https://github.com/apache/trafficserver/blob/master/plugins/experimental/header_rewrite/Examples/YCS-EC

Reply via email to