NOISSUE 성능개선, module_config, module_part_config, member_group 정보 cache 처리

This commit is contained in:
akasima 2013-12-26 16:36:36 +09:00
parent 0918ae8b7b
commit 8b1bab0e23
3 changed files with 49 additions and 10 deletions

View file

@ -1247,7 +1247,7 @@ class moduleModel extends module
function getModuleConfig($module, $site_srl = 0)
{
// cache controll
$oCacheHandler = &CacheHandler::getInstance('object');
$oCacheHandler = &CacheHandler::getInstance('object', null, true);
if($oCacheHandler->isSupport())
{
$cache_key = 'object:module_config:module_'.$module.'_site_srl_'.$site_srl;
@ -1283,7 +1283,7 @@ class moduleModel extends module
function getModulePartConfig($module, $module_srl)
{
// cache controll
$oCacheHandler = &CacheHandler::getInstance('object');
$oCacheHandler = &CacheHandler::getInstance('object', null, true);
if($oCacheHandler->isSupport())
{
$cache_key = 'object_module_part_config:'.$module.'_'.$module_srl;