Hi Couchdb people,

Can I set headers for attachments?

I'd like to add headers like
  Cache-Control: max-age=3600, must-revalidate
  ExpiresDefault "access plus 10 years"
  CacheQueries PUBLIC http://www.mysite.com/*
to image attachments in my couchapp website.
Because the site is mainly for mobiles, it is very important for me to
reduce the amount of data and number of HTTP requests.


Couchdb user Rober Newson gave me useful information on how to set headers
for lists and shows
https://wiki.apache.org/couchdb/Formatting_with_Show_and_List
https://wiki.apache.org/couchdb/ExternalProcesses#JSON_Response
but I cannot find any information on attachments (or probably I don't
understand the information that I read).

Kind regards,
Hendrik Jan

Reply via email to