--
You received this message because you are subscribed to the Google Groups "openresty-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openresty-en...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello agentzh,Is the cache_filter_by_lua* still on the roadmap? When is it expected to become available?
Regards,Nik
On Friday, February 12, 2016 at 4:47:18 PM UTC, agentzh wrote:Hello!
On Thu, Feb 11, 2016 at 3:33 PM, RJoshi wrote:
> Is it possible to set a different value for proxy_cache_valid directive
> using Lua module? I have a requirement to set different expire time per
> service.
> I tried below in Nginx.conf but gives error.
>
> set proxy_cache_value 1m;
>
> proxy_cache_valid $proxy_cache_value;
>
IIRC, the proxy_cache_valid directive does not support nginx
variables. You can try patching the NGINX core to add the support (and
possibly proposing the patch to the nginx-devel mailing list too), or
wait for the upcoming cache_filter_by_lua* directives which support
custom Lua code to control the NGINX http cache on a per-request
basis.
Best regards,
-agentzh
--
You received this message because you are subscribed to the Google Groups "openresty-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openresty-en+unsubscribe@googlegroups.com.