Setting cache control and expires inside a module

Wandenberg Peixoto wandenberg at gmail.com
Wed Apr 25 04:15:31 UTC 2012


Hi,

I need to add response to OPTIONS method to a module to allow cross domain
access,
but I want to set cache control and expires headers, only for this method,
to browsers does not ask this method frequently.

How is the best way to do that?

I have to add these headers to headers_out or has a function to do that for
me?

Regards,
Wandenberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20120425/8ce5a734/attachment.html>


More information about the nginx-devel mailing list