trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ram Chander <ramqu...@gmail.com>
Subject Re: Add header based on filetype
Date Fri, 16 Oct 2015 17:34:15 GMT
Ye, its response headers. Thanks will try out.

On Fri, Oct 16, 2015 at 10:14 PM, Sudheer Vinukonda <sudheerv@yahoo-inc.com>
wrote:

> I presume you want to add it to the response headers.
>
> Something like the below should work:
>
> cond %{SEND_RESPONSE_HDR_HOOK} [AND]
> cond %{PATH} /(.js)|(.css)/
> add-header JS_OR_CSS 1 [L]
>
> Thanks,
>
> Sudheer
>
>
> On Friday, October 16, 2015 5:44 AM, Ram Chander <ramquick@gmail.com>
> wrote:
>
>
> Hi,
>
> I want to add a header for css/js files. How to do that in header.config  ?
> Thanks. Below adds the header for all filetypes.
>
>
> add-header Key Val
>
>
> head
>
>
>

Mime
View raw message