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 3C37417CDE for ; Tue, 21 Oct 2014 00:40:19 +0000 (UTC) Received: (qmail 38036 invoked by uid 500); 21 Oct 2014 00:40:18 -0000 Delivered-To: apmail-trafficserver-users-archive@trafficserver.apache.org Received: (qmail 37972 invoked by uid 500); 21 Oct 2014 00:40:18 -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 37963 invoked by uid 99); 21 Oct 2014 00:40:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2014 00:40:18 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [71.6.165.248] (HELO cosmo.ogre.com) (71.6.165.248) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2014 00:39:52 +0000 Received: by cosmo.ogre.com (8.14.8/8.14.8) with ESMTP id s9L0dnbf027283 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 20 Oct 2014 17:39:50 -0700 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: ATS not caching anything? From: Leif Hedstrom In-Reply-To: Date: Mon, 20 Oct 2014 17:39:49 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <0C19911A-B95D-4E79-8862-5154925E9380@apache.org> References: To: users@trafficserver.apache.org X-Mailer: Apple Mail (2.1990.1) X-Virus-Checked: Checked by ClamAV on apache.org > On Oct 20, 2014, at 5:25 PM, J David wrote: >=20 > On Mon, Oct 20, 2014 at 8:07 PM, James Peach = wrote: >> You probably need to set proxy.config.http.cache.required_headers ... >=20 > Got it in one! Thanks! >=20 > It would be swell if that were mentioned from > = https://docs.trafficserver.apache.org/en/latest/admin/http-proxy-caching.e= n.html > as the default behaviors described there are very different: >=20 > "By default, Traffic Server caches all objects (including objects with > no headers); you should change the default setting only for > specialized proxy situations. =E2=80=9C Thanks, yeah that should be changed. If you are up for it, you should = make the changes and send us a pull request via Github :-). >=20 >> Pretty sure you can't disable the disk cache. Objects only get pulled = into RAM after coming through the disk cache >=20 > Hmm, what can we do to avoid the disk turning into a bottleneck? > Should we configure a memory filesystem? Yes, that=E2=80=99s typically what people would do, setup a disk cache = on e.g. /dev/shm. If you do, you probably (but always) want to turn off = the RAM cache in ATS. You can also use some of the tricks Comcast did = with the hosting.config, to put some content unto the RAM disks, and = other content unto e.g. a rotational disk. =E2=80=94 Leif