Hi,
The documentation states that ngx.var and ngx.ctx are expensive methods and should be avoided.
What is the recommended way to pass variables between Lua running in different phases. For example:
content_by_lua: do some subrequests. Save some timings
log_by_lua: log timings from subrequests
Is ngx.shared.dict the best option to avoid using ngx.var or ngx.ctx?