Did you notice you can return custom headers in shows and lists?

https://wiki.apache.org/couchdb/Formatting_with_Show_and_List
https://wiki.apache.org/couchdb/ExternalProcesses#JSON_Response

B.

On 13 April 2012 18:07, Hendrik Jan van Meerveld <[email protected]> wrote:
> Hello Couchdb people,
>
> I'm creating a web-page using Couchdb.
> To speed up the loading times for the web-page, I'd like to add some
> cache-control headers like:
>
> Cache-Control: max-age=3600, must-revalidate
> ExpiresDefault "access plus 10 years"
> CacheQueries PUBLIC http://www.mysite.com/*
>
> Any help would be great, as I could not find any information on this using
> google.
>
> Kind regards,
> Hendrik Jan van Meerveld

Reply via email to