Welcome! Log In Create A New Profile

Advanced

RE: Add support for 'nocache' flag to map directive

November 29, 2016 03:08AM
>
> From: nginx-devel [mailto:nginx-devel-bounces@nginx.org] On Behalf Of Sorin Manole
> Sent: Tuesday, November 29, 2016 7:19 AM
> To: nginx-devel@nginx.org
> Subject: Re: Add support for 'nocache' flag to map directive
>
> Would it make sense to add nocacheable if input_var or one of the variables in the value options is nocacheable?
>
Yes, that makes perfect sense to me, but that will be harder to implement, for example,
when the map block is initialized, I'm not sure whether all the variables it references have
already been added. If they were not, it will not know they are 'nocacheable', and it will require
some post processing step (maybe in postconfiguration) to go over the tree of variable references
and update nocacheable (there could be a map block that uses a variable created in another map block etc.)

So, while not ideal, I think adding a flag that the user will have to manually set is an acceptable compromise.
If the forum prefers the more automated solution, I'm willing to try to tackle that as well, but will need some
high level guidance on how you'd like that implemented.
Please let me know what you think

Thank you,

Eran

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Add support for 'nocache' flag to map directive

erankor 909 November 28, 2016 06:00AM

Re: Add support for 'nocache' flag to map directive

Sorin Manole 462 November 29, 2016 12:20AM

RE: Add support for 'nocache' flag to map directive

erankor 640 November 29, 2016 03:08AM

RE: Add support for 'nocache' flag to map directive Attachments

erankor 621 December 03, 2016 04:08PM

Re: Add support for 'nocache' flag to map directive

ru@nginx.com 639 December 06, 2016 02:14PM

RE: Add support for 'nocache' flag to map directive

erankor 563 December 06, 2016 02:44PM

Re: Add support for 'nocache' flag to map directive

ru@nginx.com 453 December 07, 2016 04:22AM

RE: Add support for 'nocache' flag to map directive

erankor 619 December 07, 2016 04:24AM



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

Online Users

Guests: 178
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