From user-return-11214-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Jun 29 22:57:46 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 44575 invoked from network); 29 Jun 2010 22:57:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Jun 2010 22:57:46 -0000 Received: (qmail 15704 invoked by uid 500); 29 Jun 2010 22:57:45 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 15652 invoked by uid 500); 29 Jun 2010 22:57:44 -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 15642 invoked by uid 99); 29 Jun 2010 22:57:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 22:57:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of byoung@bigbluehat.com designates 69.61.37.6 as permitted sender) Received: from [69.61.37.6] (HELO gamma.webserverdns.com) (69.61.37.6) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Jun 2010 22:57:37 +0000 Received: from adsl-71-141-116.gsp.bellsouth.net ([98.71.141.116] helo=BigBlueMacBook.local) by gamma.webserverdns.com with esmtpa (Exim 4.69) (envelope-from ) id 1OTjjs-00063z-IM for user@couchdb.apache.org; Tue, 29 Jun 2010 18:57:12 -0400 Message-ID: <4C2A7A4B.9010701@bigbluehat.com> Date: Tue, 29 Jun 2010 18:57:15 -0400 From: Benjamin Young Organization: BigBlueHat User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Lightning/1.0b1 Thunderbird/3.0.5 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Including _attachments in view output? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gamma.webserverdns.com X-AntiAbuse: Original Domain - couchdb.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - bigbluehat.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Checked: Checked by ClamAV on apache.org Is it possible to include _attachments contents in a view as one can with ?attachments=true on a single document? My use case for this is creating a view that would aggregate multiple javascript or css attachments into a single (ideally, minified) version at the view URL. Couple that with the great HTTP headers CouchDB outputs, I think it would create a fabulous way to speed up ones site/app by pulling a single JavaScript or CSS file as an minified aggregate. I know this would be possible with a proxy/app in front, but would love to avoid that if possible. Thoughts? Thanks, Benjamin -- President BigBlueHat P: 864.232.9553 W: http://www.bigbluehat.com/ http://www.linkedin.com/in/benjaminyoung