Changes
Title
unchanged
AssetManager: clearing browser's cache on site update
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
assets, cache, AssetManager, CAssetManager
Content
changed
[...]
if ($this->_assetsBase === null) {
$this->_assetsBase = Yii::app()->assetManager->publish(
Yii::getPathOfAlias('application.assets'),
false,
-1,
defined('YII_DEBUG') && YII_DEBUG
);
}
return $this->_assetsBase;
}[...]