1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-05 16:55:50 +03:00

Add LuaCodeCache directive for controlling in-memory caching.

This might need some tweaking on the hash key generation for the mtime lookups, ideas are welcome.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1366890 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Gruno
2012-07-29 19:07:38 +00:00
parent 6722d47519
commit f9b07d1b34
4 changed files with 81 additions and 2 deletions

View File

@@ -120,6 +120,11 @@ typedef struct
/* Whether Lua scripts in a sub-dir are run before parents */
ap_lua_inherit_t inherit;
/**
* AP_LUA_CACHE_NEVER | AP_LUA_CACHE_STAT | AP_LUA_CACHE_FOREVER
*/
unsigned int codecache;
} ap_lua_dir_cfg;