trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Payne <jp557...@gmail.com>
Subject Re: ATS cache miss if backend service DNS name rotates.
Date Wed, 10 Oct 2018 21:28:03 GMT
Maybe use the below plugin to exclude the FQDN as the part of the
cache key or  generate the cache key based on the path+file ?

https://docs.trafficserver.apache.org/en/7.1.x/admin-guide/plugins/cachekey.en.html
On Wed, Oct 10, 2018 at 4:06 PM Jin <jin@tower-research.com> wrote:
>
> I have a backend server using DNS roundrobin like service.domain.com pointing
> to service[1-8].domain.com. They all run the same Ceph Rados gateway service
> and serve same data.
>
> Is there a way for ATS to ignore hostname if the file path and names are
> same? For example, if http://service1.domain.com/dir1/file1 was cached,
> requests for http://service2.domain.com/dir1/file1 should be pulled from
> cache instead of from backend server.
>
> Thank you.
>
> Jin.
>
>
>
>
>
> --
> Sent from: http://apache-traffic-server.24303.n7.nabble.com/

Mime
View raw message