Similar to the existing LuCI Lua plugin prefix, add an ucode plugin prefix
which becomes effective once uhttpd-mod-ucode is installed.
This will speedup executing ucode based LuCI since sources are held in
memory in precompiled form, reducing the per-request startup overhead.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
# handler script. Ucode support is disabled when
# no handler mappings are specified. Ucode prefix
# matches have precedence over the CGI prefix.
-# list ucode_prefix "/ucode/example=/usr/share/example.uc"
+ list ucode_prefix "/cgi-bin/luci=/usr/share/ucode/luci/uhttpd.uc"
# Specify the ubus-rpc prefix and socket path.
# option ubus_prefix /ubus