Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 36090 invoked from network); 11 Sep 2009 17:29:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Sep 2009 17:29:17 -0000 Received: (qmail 70953 invoked by uid 500); 11 Sep 2009 17:29:15 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 70877 invoked by uid 500); 11 Sep 2009 17:29:15 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 70867 invoked by uid 99); 11 Sep 2009 17:29:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 17:29:15 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of zachary.zolton@gmail.com designates 209.85.218.211 as permitted sender) Received: from [209.85.218.211] (HELO mail-bw0-f211.google.com) (209.85.218.211) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 17:29:06 +0000 Received: by bwz7 with SMTP id 7so1095375bwz.11 for ; Fri, 11 Sep 2009 10:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=aDc9Wi1nWG9Ms7LV4X/fGpjZOrOKHTYkfdqrZtSxLaE=; b=BAzxFjrBBBFX7jjmlKsoIND/d07CS6BZa12DlML4wff0c7t6OtXbEgGC8MQaYJyvY7 sFR4cuees8lQ23XH9pETOxsNDOILPmoRTOK/dwN6vEnUfJQxLY56rvztw8TFaCgai4vG oYzaVFC7RAgBhhvbG9dDLLlu6/blLoAZfGLX8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=c2HvsYwWC9muderLpZ6GyxJ7cvcMbKagm9hC3QKV1GnO6xQk2qPW6IP1rqQ6NBeCzm UfYKneagDePp3H/xzxOenOiPXrh5SJyb9OlYPawpNAJcT7at0LRmfYhajYcxFupD6wrI jugSx20pMM+hpx7IxBtnhuYECUVN2odv9fhiE= MIME-Version: 1.0 Received: by 10.204.174.209 with SMTP id u17mr2263526bkz.7.1252690126147; Fri, 11 Sep 2009 10:28:46 -0700 (PDT) From: Zachary Zolton Date: Fri, 11 Sep 2009 12:28:26 -0500 Message-ID: Subject: Varnish and Multi-doc Fetch? To: user@couchdb.apache.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm testing out using Varnish for my application, and so far most everything "just works" with CouchDB. The only real problem I have is that I'm using (probably abusing!) the multi-doc fetch feature, which results in a POST request that Varnish isn't gonna cache. (As an aside, I'm likely not properly de-normalizing my data=97since I'm using the multi-doc fetch much like one would use SQL joins. I do plan some big refactoring...!) Two potential solutions I thought of: 1) Cache POST requests in my Varnish config=97this sounds like a can of worms though, since POSTs can also be used for creating documents (not to mention all the VCL-fu required) 2) Add a GET multi-doc fetch feature to CouchDB=97however, I'm guessing there's a good reason why we don't already have this, right? (^_-) Anyways, I was wondering if anyone else has dealt with this situation or has any ideas. Cheers, Zach