Welcome! Log In Create A New Profile

Advanced

Setting cache control and expires inside a module

April 25, 2012 12:16AM
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
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Setting cache control and expires inside a module

wandenberg 1420 April 25, 2012 12:16AM

Re: Setting cache control and expires inside a module

Brian Akins 503 April 26, 2012 07:20AM

Re: Setting cache control and expires inside a module

wandenberg 559 April 26, 2012 09:06AM

Re: Setting cache control and expires inside a module

Maxim Dounin 673 April 26, 2012 10:34AM

Re: Setting cache control and expires inside a module

wandenberg 790 April 26, 2012 08:56PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 168
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready