php - Single cache frontend and backend -


i want use tagging cache in yii.

but turns out frontend using cache backend. when change model in backend, front of cache not cleared. there solutions this?

sorry english.

set distinct cache prefix frontend , backend in respective configuration files.

i still using 1.1.x branch, 2.x branch should same thing.

frontend configuration file:

'cache' => array(         'class'     => 'system.caching.' . (!mw_debug ? 'cfilecache' : 'cdummycache'),         'keyprefix' => md5('frontend.' . mw_version . yii::getpathofalias('frontend')),  ), 

backend configuration file:

'cache' => array(         'class'     => 'system.caching.' . (!mw_debug ? 'cfilecache' : 'cdummycache'),         'keyprefix' => md5('backend.' . mw_version . yii::getpathofalias('backend')),     ), 

Comments

Popular posts from this blog

php - Magento - Deleted Base url key -

javascript - Tooltipster plugin not firing jquery function when button or any click even occur -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -