Closed aetiv closed 9 years ago
I think the best way to support this is the configure the front end cache component in the backend app. If you're using file cache your configuration would look something like this:
'components' => [
'frontCache' => [
'class' => 'yii\caching\FileCache',
'cachePath' => '/path/to/frontend/runtime/cache'
],
],
Does this satisfy your requirement?
Yes, thank you very much.
You clean the cache in actions(update, create, delete) but Yii::$app - is backend application. Need to clear and for front-end