Another attempt at properly caching image map without blowing up the cache.

This commit is contained in:
Nathan Gray 2015-03-16 20:22:32 +00:00
parent 61717c39a6
commit 97cafbf920

View File

@ -925,6 +925,10 @@ class common
}
}
}
else if ($dir)
{
return $map;
}
//error_log(__METHOD__."('$template_set') took ".(microtime(true)-$starttime).' secs');
egw_cache::setInstance(__CLASS__, $cache_name, $map, 86400); // cache for one day
//echo "<p>template_set=".array2string($template_set)."</p>\n"; _debug_array($map);