Add support for 'nocache' flag to map directive

Eran Kornblau eran.kornblau at kaltura.com
Mon Nov 28 10:58:01 UTC 2016


Hi all,

I created this post yesterday - https://forum.nginx.org/read.php?10,271197
And thought about submitting a patch for it.
Before I do, I wanted to check with you whether this is something you'll be willing to accept
(assuming the implementation is correct, according to standards, doesn't break things etc.)

In short, the idea is to add an optional flag to the map directive that make the map module
pass NGX_HTTP_VAR_NOCACHEABLE in its call to ngx_http_add_variable.
The conf structure will look like:
map $input_var $output_var nocache {
default 0;
"some value" 1;
}

Thank you,

Eran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20161128/12123704/attachment.html>


More information about the nginx-devel mailing list