couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcello Nuccio <marcello.nuc...@gmail.com>
Subject Fetching many documents: multiple GETs or one POST?
Date Fri, 08 Apr 2011 10:25:32 GMT
To build the page of a Web app (built with couchapp), I need to fetch
by key many SELDOM CHANGING documents.
I can get them all with a single POST request with the keys in the body.
Or I can get them one by one with a GET request for each document.
The GET requests are cached by the browser, the POST is not.

So, which one is best?
Any suggestions?

Thanks,
  Marcello

Mime
View raw message