* Updated dispatching cache mechanism
This commit is contained in:
parent
c59a7afe45
commit
776f9957d0
2 changed files with 3 additions and 4 deletions
|
@ -1,2 +1,4 @@
|
||||||
#!/usr/bin/haserl --shell=luac
|
#!/usr/bin/haserl --shell=luac
|
||||||
require("luci.dispatcher").httpdispatch()
|
require("luci.dispatcher")
|
||||||
|
luci.dispatcher.indexcache = "/tmp/.luciindex"
|
||||||
|
luci.dispatcher.httpdispatch()
|
|
@ -34,9 +34,6 @@ local tree = {nodes={}}
|
||||||
-- Index table
|
-- Index table
|
||||||
local index = {}
|
local index = {}
|
||||||
|
|
||||||
-- Indexdump
|
|
||||||
local indexcache = "/tmp/.luciindex"
|
|
||||||
|
|
||||||
-- Global request object
|
-- Global request object
|
||||||
request = {}
|
request = {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue