trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Call <bc...@apache.org>
Subject Re: redirect
Date Wed, 16 Nov 2016 08:18:26 GMT
I ran a test myself and I don’t know of a way to make the response cacheable.  I assume you
would like to set the Cache-Control header to something like max-age=300.  I will talk to
a couple other Committers tonight and see if they have any ideas.

This is what I am seeing:
[bcall@homer ~]$ curl -D - -H 'Host: www.google.com' http://127.0.0.1:8080/
HTTP/1.1 301 Redirect
Date: Wed, 16 Nov 2016 08:13:03 GMT
Connection: keep-alive
Server: ATS/7.1.0
Cache-Control: no-store
Location: http://www.yahoo.com/
Content-Type: text/html
Content-Language: en
Content-Length: 303

-Bryan




> On Nov 15, 2016, at 3:19 AM, $ubbu <subbu448@gmail.com> wrote:
> 
> Hi everyone
> 
>     I am unable to cache the redirected urls, any way to cache the redirected pages?
> 
> my rule is like this
> 
> redirect http://server1.example.com/ <http://server1.example.com/> http://serveraz.example.com/
<http://serveraz.example.com/>
> 
> -- 
> Regards
> Subrahmanya Prasad P


Mime
View raw message