luci/libs/core/luasrc
Jo-Philipp Wich d4987d7863 ccache not loading or storing cache files
I've noticed that there is nothing in my /tmp/luci-modulecache
directory. Digging into it it looks like because both the expected uid
and mode of the files doesn't match, so for security reasons they're
long being loaded or saved by ccache.lua (from the luci-lib-core
package). I'm not sure how far back this has been broken but I it
appears to have been quite some time, possibly years?

I've included a patch which updates the checks to use the right newer
function name / structure name. It decreases page load times by about
10-15% on my bcm2708 (raspberrypi). I can create a ticket if you'd
prefer. The patch is against the luci-0.11 branch but should apply to
trunk as well.

Signed-off-by: Bryan Mayland <bmayland@leoninedev.com>
2012-12-19 00:35:30 +00:00
..
model libs/core: use luci.template.parser.hash() instead of lmo.hash() 2012-11-25 19:18:10 +00:00
ccache.lua ccache not loading or storing cache files 2012-12-19 00:35:30 +00:00
debug.lua libs/core: debug.lua use integers for memory size and peak value 2009-07-23 03:19:46 +00:00
fs.lua FIx lsat commit 2009-07-24 17:34:40 +00:00
init.lua libs/core: fallback to trunk version 2011-08-13 09:52:50 +00:00
ip.lua libs/core: remove various uses of global vars in luci.ip 2012-01-01 15:51:37 +00:00
ltn12.lua Performance optimisations: 2008-09-09 12:44:41 +00:00
store.lua Optimize util.threadlocal, Add luci.store as global threadlocal store 2009-07-27 10:27:39 +00:00
util.lua libs/core: remove unused luci.util.escape(), map luci.util.striptags() to luci.template.parser.striptags() 2012-11-26 14:26:46 +00:00
version.lua build: add mkversion.sh helper script 2009-01-17 16:35:02 +00:00