memoize template_file
This avoids a lot of unncessary stats, and trims about 1 second off a docwiki rebuild here.master
parent
c2ae7966ca
commit
93ab004cc2
|
@ -33,6 +33,7 @@ use Memoize;
|
||||||
memoize("abs2rel");
|
memoize("abs2rel");
|
||||||
memoize("pagespec_translate");
|
memoize("pagespec_translate");
|
||||||
memoize("file_pruned");
|
memoize("file_pruned");
|
||||||
|
memoize("template_file");
|
||||||
|
|
||||||
sub getsetup () {
|
sub getsetup () {
|
||||||
wikiname => {
|
wikiname => {
|
||||||
|
|
Loading…
Reference in New Issue