I’m pretty sure that if you enable the pristine host header setting (either globally or per
remap rule), the cache key will be based on service.domain.com and not the individual origins.
Of course, all origins have to accept that one host header.
— Leif
> On Oct 10, 2018, at 15:06, 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/
|