Setting cache control and expires inside a module
wandenberg at gmail.com
Thu Apr 26 13:04:29 UTC 2012
I need to this inside my module, it already exists.
Actually it responds to GET method and I need to add response to OPTIONS
methods to support cross domain access,
but want to send the response with cache headers, only for OPTIONS.
This is the reason I need to do that by code.
On Thu, Apr 26, 2012 at 8:19 AM, Brian Akins <brian at akins.org> wrote:
> On Apr 25, 2012, at 12:15 AM, Wandenberg Peixoto wrote:
> > 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.
> I did this in a simple Lua script. Could do the same with perl.
> nginx-devel mailing list
> nginx-devel at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel