couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Copenhaver <>
Subject Re: Fetching many documents: multiple GETs or one POST?
Date Fri, 08 Apr 2011 19:12:43 GMT
Isn't a view request a GET? Could you potentially develop a view map
function that gets these rarely updated documents you want and let the
browser cache that request?  Anyone know if this would work this way?

On Fri, Apr 8, 2011 at 6:25 AM, Marcello Nuccio

> 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

“The limits of language are the limits of one's world. “ -Ludwig von

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message