luci-base: fix Lua-side ip6hostid() datatype validation
[project/luci.git] / modules / luci-base / luasrc / cacheloader.lua
1 -- Copyright 2008 Steven Barth <steven@midlink.org>
2 -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
3 -- Licensed to the public under the Apache License 2.0.
4
5 local config = require "luci.config"
6 local ccache = require "luci.ccache"
7
8 module "luci.cacheloader"
9
10 if config.ccache and config.ccache.enable == "1" then
11         ccache.cache_ondemand()
12 end