解决Yii2 添加css后页面刷新也无反应的情况

'assetManager' => [
            // uncomment the following line if you want to auto update your assets (unix hosting only)
            'linkAssets' => true,
            'bundles' => [
                'yiiwebJqueryAsset' => [
                    'js' => [YII_DEBUG ? 'jquery.js' : 'jquery.min.js'],
                ],
                'yiiootstrapBootstrapAsset' => [
                    'css' => [YII_DEBUG ? 'css/bootstrap.css' : 'css/bootstrap.min.css'],
                ],
                'yiiootstrapBootstrapPluginAsset' => [
                    'js' => [YII_DEBUG ? 'js/bootstrap.js' : 'js/bootstrap.min.js'],
                ],
            ],

添加一个     'linkAssets'=>true

原文地址:https://www.cnblogs.com/fpcing/p/9619734.html