Dmitry Volyntsev

Results 119 comments of Dmitry Volyntsev

Hi @bhavin9695, `js_set` just declares a variable, but the JS function is only called when the variable is referenced. One way to reference a variable early is to use `set`...

@bhavin9695 >For the Server header, is there any plan on the timeline to fix this? Yes, I plan to fix it this or next week. >Also, How do I set...

@liaojianxiong >By the way, it there any function used for header modification to upstream like proxy_set_header in nginx directive. No, in nginx the incoming headers are not designed to be...

@bhavin9695 Server modification is [committed](https://github.com/nginx/njs/commit/15ab34f9829005d8e1b2b4f309823aaddad69a65).

Released in [0.8.4 release](https://nginx.org/en/docs/njs/changes.html).

Hi @liaojianxiong, we plan to introduce `js_balancer` in the future. Thank you for the feedback. Speaking of priority, we plan to introduce a new JS engine first, before adding new...

Fixed as a part of #351.

@renatahodovan I believe the issue can be closed, right?

For advanced ES6 syntax and above use [js_engine qjs](https://nginx.org/en/docs/njs/engine.html).

Hi @ram-vet, There is console.time() and console.timeEnd() pair for njs CLI. Otherwise there no profiling tools specific to njs. Please elaborate what you are trying to profile and what part...