updated README.markdown to reflect recent changes in docs.

This commit is contained in:
Yichun Zhang (agentzh) 2013-07-01 19:03:42 -07:00
Родитель f05ef37b99
Коммит fe27fc2a4c
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -247,9 +247,10 @@ cached because only the Nginx config file parser can correctly parse the `nginx.
file and the only ways to to reload the config file
are to send a `HUP` signal or to restart Nginx.
Also, Lua files which are loaded by `dofile` or `loadfile`
in *_by_lua_file will never be cached. To ensure code caching, you can either use the [init_by_lua](http://wiki.nginx.org/HttpLuaModule#init_by_lua)
or [init_by_lua_file](http://wiki.nginx.org/HttpLuaModule#init-by_lua_file) directives to load all such files or just make these Lua files true Lua modules and load them via `require`.
Also, Lua files which are loaded by `dofile` or `loadfile`
in *_by_lua_file will never be cached. To ensure code caching, you can either use the [init_by_lua](http://wiki.nginx.org/HttpLuaModule#init_by_lua)
or [init_by_lua_file](http://wiki.nginx.org/HttpLuaModule#init-by_lua_file) directives to load all such files or just make these Lua files true Lua modules
and load them via `require`.
The ngx_lua module does not currently support the `stat` mode available with the
Apache `mod_lua` module but this is planned for implementation in the future.