Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 73314 invoked from network); 26 Feb 2009 11:42:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2009 11:42:56 -0000 Received: (qmail 85677 invoked by uid 500); 26 Feb 2009 11:42:54 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 85642 invoked by uid 500); 26 Feb 2009 11:42:54 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 85631 invoked by uid 99); 26 Feb 2009 11:42:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 03:42:53 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of patrick.antivackis@gmail.com designates 209.85.218.163 as permitted sender) Received: from [209.85.218.163] (HELO mail-bw0-f163.google.com) (209.85.218.163) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Feb 2009 11:42:47 +0000 Received: by bwz7 with SMTP id 7so632406bwz.11 for ; Thu, 26 Feb 2009 03:42:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=DjNQFm3tdZMfBz49LXikKkV4Bf12kaMA009NpsMJjSY=; b=ALHfNXc9iAzEea1DtCVBmgKCq0By7phYquVE81mEsgnPkj9DhFHeosv4GlXruTxLO0 L3eByPRtjtiurpz/GwjGO8F9TelXJq9utZjSIoailMDHDuNGjf02bcC9LK1Ls6GZpLW/ FtB8Zn8qf/vQHSzcygXtX2zCmwcbR90BYMwdY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=q0SQjCUftxOXIaftRw9D4bpNvtk+THiDfq6sHhrLSQDqaowVvoPv8Ic/MNyAiUppuX PTnKM81wch0GL47WbwiMtL/0oBJt7yZXvRs6vDZpmvuf+IPIZr2aAxa5R1nZMmCWB+dO wgjU71LsIE5lVrN3pyG2O5oI3HrUAYowd6Giw= MIME-Version: 1.0 Received: by 10.223.107.76 with SMTP id a12mr911460fap.29.1235648545359; Thu, 26 Feb 2009 03:42:25 -0800 (PST) In-Reply-To: References: Date: Thu, 26 Feb 2009 12:42:25 +0100 Message-ID: <7060483c0902260342g4be3834cudd3e685d275de22c@mail.gmail.com> Subject: Re: REST, Hypermedia, and CouchApps From: Patrick Antivackis To: dev@couchdb.apache.org Content-Type: multipart/alternative; boundary=001636c5a5d89d08df0463d0d849 X-Virus-Checked: Checked by ClamAV on apache.org --001636c5a5d89d08df0463d0d849 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit > > That would certainly lower the number of require requests. I thought > for a minute about using a temp_view for this, but there is no way to > restrict them to run on only the design docs, so the overhead could be > tremendous. I still think it'd be trivial to implement as part of a > view-like response from /db/_design/ > Why don't you just create a view looking in _design/docs that have either an _attachment like index.html or if the couchapp.index field exist ? --001636c5a5d89d08df0463d0d849--