> On Aug 27, 2015, at 7:46 PM, Alberto Klocker > <[email protected]> wrote: > > Hi ATS Users, > > The CacheURL plugin is awesome. I've been playing with it in a forward proxy > environment and am loving how it can be used to cache dynamic content based > on query strings. The bandwidth saving potential is huge. > > Would anyone be willing to share some of the patterns they have put together? > > I'll start with one to cache youtube videos: > > http://.*googlevideo.com.*(id=[0-9a-zA-Z\-]).*?\&(mime=\w+).*?\&(range=[0-9\-]*) > http://video.googlevideo.com/$1&$2&$3
Hey Alberto, I think this is a pretty good idea. There are probably examples of other youtube configuration in the mailing list archives, though I guess their URL formats have changed somewhat over the years. It might be useful to start collecting these configuration recipes either in the wiki <https://cwiki.apache.org/confluence/display/TS/Apache+Traffic+Server>, or in the documentation <https://docs.trafficserver.apache.org/>. cheers, James
