trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan-Frode Myklebust <janfr...@tanso.net>
Subject Re: setting records per site or src ?
Date Tue, 05 Feb 2013 10:49:50 GMT
On Mon, Feb 04, 2013 at 09:07:59PM -0700, Leif Hedstrom wrote:
> On 2/4/13 4:12 AM, Jan-Frode Myklebust wrote:
> >We're running ATS in reverse proxy mode, as edge servers for several
> >websites. One problem we've had is that we have a bunch of
> >settop-boxes that are sending "cache-controls max-age=0" for every
> >request, so we turned on
> >proxy.config.http.cache.ignore_client_no_cache to work around this
> >problem.
> 
> Hmmm, that doesn't seem right. To ignore max-age=0, you should do
> 
>     CONFIG proxy.config.http.cache.ignore_client_cc_max_age INT 1

Yes, that's what I'm doing. Just cut-n-pasted wrong :-)

> 
> You can do it per remap rule using the conf_remap, and just point it
> to a config file with the same format as records.config. Only a
> subset of records.config can be overriden though, I think it's
> documented on the Wiki. In your case, you'd want e.g.
> 
>     CONFIG proxy.config.http.transaction_no_activity_timeout_in INT 120
>     CONFIG proxy.config.http.transaction_no_activity_timeout_out INT 120
> 
> 
> in a config file, and then add @plugin=conf_remap.so
> @pparam=/some/path/to/your.config   to the appropriate remap rule.
> 
> I hope that helps.

It does, and my needed settings was supported by this plugin. Thanks!



  -jf

Mime
View raw message