-
-
Save BumbuKhan/b7f53ad07fee27ee43d2b0cbf6b9f0a4 to your computer and use it in GitHub Desktop.
Yii2 turn off asset caching
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'assetManager' => [ | |
'class' => 'yii\web\AssetManager', | |
'forceCopy' => YII_DEBUG, | |
'appendTimestamp' => YII_DEBUG, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Read more here
http://www.yiiframework.com/doc-2.0/guide-structure-assets.html#cache-busting
http://www.yiiframework.com/doc-2.0/yii-web-assetmanager.html#$forceCopy-detail