incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hendrik Jan van Meerveld <haa...@gmail.com>
Subject Re: How to set cache-control headers for views, lists and shows?
Date Fri, 13 Apr 2012 18:12:21 GMT
Thank you Robert,

That seems to be exactly what I am looking for.
I'll start testing with these features right away.

Seems I just didn't look in the right place :-)

Kind regards,
Hendrik Jan

On 13 April 2012 19:15, Robert Newson <rnewson@apache.org> wrote:

> 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 <haaiee@gmail.com> 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
>

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