trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randeep <randeep...@gmail.com>
Subject Re: Query strings are not forwarded
Date Thu, 27 Oct 2016 11:05:39 GMT
Hi,

Our urls are like

http://jitp1.dmain.com/dashw/abpnews/manifest.mpd?starttime=1477454400000&
stoptime=1477456200000
<http://jitp1.lukup.com/dashw/abpnews/manifest.mpd?starttime=1477454400000&stoptime=1477456200000>

We need to cache only
http://jitp1.dmain.com/dashw/abpnews/manifest.mpd
<http://jitp1.lukup.com/dashw/abpnews/manifest.mpd?starttime=1477454400000&stoptime=1477456200000>

I'll try the plugin you recommended.

Regards,
Randeep


On Thu, Oct 27, 2016 at 4:03 PM, Sudheer Vinukonda <
sudheervinukonda@yahoo.com> wrote:

> You may try using cachekey plugin to ignore the query params only from the
> cache key and not from remap, instead of using regex_remap with
> no-query-string param, which will basically remove the query string from
> remap.
>
> There is an excellent documentation and some examples on how to do this at
> https://docs.trafficserver.apache.org/en/latest/admin-
> guide/plugins/cachekey.en.html
>
> - Sudheer
>
> On Oct 27, 2016, at 12:22 AM, Randeep <randeep123@gmail.com> wrote:
>
> Hi all,
>
> We are using ats to cache our live MPEG dash and HLS streams.
> We use version 6.2.0 with parent-child architecture.
>
> In the requests there are some query strings like timestamps for playing
> catchup,start-over,timeshift etc.
>
> Before the requests where not caching so we added @pparam=no-query-string
> so that it will cache without query stings. I thought it will strip the
> query strings only when caching but it is stripping the query-string while
> forwarding to domain also. Because of this a lot of services like catchup
> doesn't work.
>
> remap.config
> map http://jitp1.domain.com/ http://bglrcache1.domain.com/
> @plugin=/opt/ats/libexec/trafficserver/regex_remap.so
> @pparam=/opt/ats/etc/trafficserver/jitp1.config @pparam=no-query-string
>
> cat /opt/ats/etc/trafficserver/jitp5.config
> ^/(.*)$ http://bglrcache5.domain.com/$1
>
> How can we achieve both url forwarding with query sting and caching the
> content without the query-string?
>
> --
> Randeep
> Mob: +919447831699[kerala]
> Mob: +919880050349[B'lore]
> http://twitter.com/Randeeppr
> http://in.linkedin.com/in/randeeppr
>
>
> [image: --]
> Randeep Raman
> [image: http://]about.me/Randeeppr
> <http://about.me/Randeeppr>
>
>


-- 
Randeep
Mob: +919447831699[kerala]
Mob: +919880050349[B'lore]
http://twitter.com/Randeeppr
http://in.linkedin.com/in/randeeppr


[image: --]
Randeep Raman
[image: http://]about.me/Randeeppr
<http://about.me/Randeeppr>

Mime
View raw message