Does Eval Module work Now?

agentzh agentzh at gmail.com
Tue Jan 4 06:24:16 MSK 2011


On Sun, Jan 2, 2011 at 12:49 AM, Sirsiwal, Umesh <usirsiwal at verivue.com> wrote:
> I agree Lua makes it a lot flexible and the cost of Lua is rather small. To achieve rewrite  I am using content_by_lua once the rewrite is complete, I just do ngx.exec to other locations. Gives me in effect as eval module.
>

*nod*

That's exactly what we're doing in production at the moment ;)

> On auth side, at present I use ngx_auth_request and use content_by_lua to serve the request. So yes, that will be very useful.
>

Same here ;)

When access_by_lua_file is ready, we can eliminate a subrequest call
in this context, thus reducing overhead.

Happy lua hacking!
-agentzh



More information about the nginx-devel mailing list