couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Couchdb Wiki] Update of "HTTP_Document_API" by rzezeski
Date Tue, 13 Jul 2010 01:33:37 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "HTTP_Document_API" page has been changed by rzezeski.
The comment on this change is: Add section about compression of attachments.


  <JPEG data>
+ === Compression of Attachments ===
+ 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.
+ This setting can be found in the attachments section of the configuration.
  == ETags/Caching ==
  CouchDB sends an ''ETag'' Header for document requests. The ETag Header is simply the document's
revision in quotes.

View raw message