Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Var: Fix cacheable issue for njs variable access
The variables accessed with JS template literal should be not cacheable. Since it is parsed by njs engine, Unit can't create indexes on these variables for caching purpose. For example: { "format": "`{bodyLength:\"${vars.body_bytes_sent}\",status:\"${vars.status}\"}\n`" } The variables like the above are not cacheable. Closes: #1169
- Loading branch information