trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reindl Harald <>
Subject Re: Cache alternates
Date Mon, 08 Oct 2012 18:11:45 GMT

Am 08.10.2012 19:57, schrieb Deve Loper:
> When the User-Agent varies it is saved again in disk.
> Is there any possibility of eliminating it?

yes, simply eliminate it on the ORIGIN-server

you probably did not understand the meaning of "vary" in the contect
HTTP-Header of the origin-server

Vary: User-Agent
do not send it if you do not want

<IfModule mod_headers.c>
 Header append Vary User-Agent
  Header unset Vary
 <FilesMatch "\.(css|js|htc|wav|doc|docx|xls|xlsx|pdf)$">
  Header set Vary "Accept-Encoding"

View raw message