From user-return-11407-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Tue Jul 13 01:23:02 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 16127 invoked from network); 13 Jul 2010 01:23:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Jul 2010 01:23:02 -0000 Received: (qmail 24973 invoked by uid 500); 13 Jul 2010 01:23:01 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 24926 invoked by uid 500); 13 Jul 2010 01:23:00 -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 24918 invoked by uid 99); 13 Jul 2010 01:23:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 01:23:00 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jchris@gmail.com designates 209.85.160.52 as permitted sender) Received: from [209.85.160.52] (HELO mail-pw0-f52.google.com) (209.85.160.52) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jul 2010 01:22:51 +0000 Received: by pwi7 with SMTP id 7so3606879pwi.11 for ; Mon, 12 Jul 2010 18:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=Qwrs7dCKuyZt0Ejj6KGLH5vNy2zP30HZM6d9VuEJGgY=; b=pfVeCOYpgdr0YRfGGWM88Y17WMMI4qSFK5tcT2ZTnOlWgB2cAFqIZ6fBBr2eo/NYOj SksPMCLNwBa8X2VFyZnuAsltE/FrPYm6BC5x6AYEt+xjPwYOooeW4kqv3Dsj2iEKdeDn CPVjGs0npI6WzITkVgrTQdUS8zww5Wcl5isbw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=QbmorPhmAEz3rB1g6oF7AY8W3WCRO9yCYsa/c/CJ0U7w1c+H+ZaMKA6b61Bke8hREt n78HAwCQoVNH43hWhG8x9qOkuvAJNzLy3QAzRGIQJgOHgoQgzplF+8KvA0+G1/xal6Qg O1eJpDbRpdLfRpH65Ihn8vbA4P4CKMUD5AfCY= Received: by 10.115.94.14 with SMTP id w14mr17165454wal.109.1278984150242; Mon, 12 Jul 2010 18:22:30 -0700 (PDT) Received: from [10.0.1.245] (h-74-1-186-35.snfccasy.static.covad.net [74.1.186.35]) by mx.google.com with ESMTPS id r27sm5194449rvq.21.2010.07.12.18.22.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 Jul 2010 18:22:29 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: text/csv vs. application/octet-stream From: J Chris Anderson In-Reply-To: Date: Mon, 12 Jul 2010 18:22:25 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <6D05945B-0F03-457B-B743-286B637077CC@gmail.com> References: To: user@couchdb.apache.org X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org On Jul 12, 2010, at 6:18 PM, Ryan Zezeski wrote: >>=20 >>=20 >> Please do! The wiki requires a user account to prevent spam, but = aside from >> that there shouldn't be any roadblocks. >>=20 >> Thanks, >> Chris >=20 >=20 > I feel weird just adding to the wiki without someone's approval seeing = that > I'm hardly acquainted with CouchDB. Here's my stab at it. If I get = no > replies by tomorrow I'll add it to the wiki as is. >=20 looks good to me. > =3D=3D=3D Compression of Attachments =3D=3D=3D > As of version 0.11, CouchDB, by default, will automatically compress = certain > attachment types. That is, based on the Content-Type header of the = request > CouchDB may perform compression of the data. This is done to reduce = the > amount of data being shuffled around during replication, and in most = cases > it's probably what you want. However, if uploading large files (e.g. = a 200M > CSV) you may want to tweak this configuration in order to avoid = compression > and therefore reduce the network latency of the request. >=20 > This setting can be found in the attachments section of the = configuration. >=20 > -Ryan