console\controllers\AssetController actionCompress()

actionCompress() public method

Combines and compresses the asset files according to the given configuration.

During the process new asset bundle configuration file will be created. You should replace your original asset bundle configuration with this file in order to use compressed files.

public void actionCompress ( $configFile, $bundleFile )
$configFile string

Configuration file name.

$bundleFile string

Output asset bundles configuration file name.

doc_Yii
2016-10-30 16:54:50
Comments
Leave a Comment

Please login to continue.