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 <[email protected]> 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/

Reply via email to