#242 자주 사용되는 데이터를 file cache를 이용하도록 개선.

This commit is contained in:
bnu 2014-01-02 06:16:55 +09:00
parent 7f55c5313a
commit 6fb5349c2e
14 changed files with 118 additions and 100 deletions

View file

@ -257,7 +257,7 @@ class layoutAdminController extends layout
$cache_file = $oLayoutModel->getUserLayoutCache($args->layout_srl, Context::getLangType());
FileHandler::removeFile($cache_file);
//remove from cache
$oCacheHandler = &CacheHandler::getInstance('object');
$oCacheHandler = CacheHandler::getInstance('object', null, true);
if($oCacheHandler->isSupport())
{
$cache_key = 'object:'.$args->layout_srl;
@ -330,7 +330,7 @@ class layoutAdminController extends layout
$args->layout_srl = $layout_srl;
$output = executeQuery("layout.deleteLayout", $args);
//remove from cache
$oCacheHandler = &CacheHandler::getInstance('object');
$oCacheHandler = CacheHandler::getInstance('object', null, true);
if($oCacheHandler->isSupport())
{
$cache_key = 'object:'.$layout_srl;