From users-return-2468-apmail-trafficserver-users-archive=trafficserver.apache.org@trafficserver.apache.org Tue Feb 5 10:50:32 2013 Return-Path: X-Original-To: apmail-trafficserver-users-archive@www.apache.org Delivered-To: apmail-trafficserver-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F2B05E2D3 for ; Tue, 5 Feb 2013 10:50:31 +0000 (UTC) Received: (qmail 15073 invoked by uid 500); 5 Feb 2013 10:50:31 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 14626 invoked by uid 500); 5 Feb 2013 10:50:27 -0000 Mailing-List: contact users-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@trafficserver.apache.org Delivered-To: mailing list users@trafficserver.apache.org Received: (qmail 14574 invoked by uid 99); 5 Feb 2013 10:50:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 10:50:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [81.167.36.150] (HELO asav4.lyse.net) (81.167.36.150) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 10:50:18 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by asav4.lyse.net (Postfix) with ESMTP id A1FBA6C106; Tue, 5 Feb 2013 11:49:55 +0100 (CET) X-Virus-Scanned: amavisd-new at lyse.net Received: from dibs.tanso.net (143.213-167-104.customer.lyse.net [213.167.104.143]) by asav4.lyse.net (Postfix) with ESMTP id D785A6C093; Tue, 5 Feb 2013 11:49:54 +0100 (CET) Received: by dibs.tanso.net (Postfix, from userid 502) id 8532721AA7; Tue, 5 Feb 2013 11:49:50 +0100 (CET) Date: Tue, 5 Feb 2013 11:49:50 +0100 From: Jan-Frode Myklebust To: Leif Hedstrom Cc: users@trafficserver.apache.org Subject: Re: setting records per site or src ? Message-ID: <20130205104950.GA10154@dibs.tanso.net> References: <5110859F.1090502@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5110859F.1090502@apache.org> User-Agent: Mutt/1.5.20 (2009-12-10) X-Virus-Checked: Checked by ClamAV on apache.org 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