php - Yii2 assetManager appendTimestamp not working properly -



php - Yii2 assetManager appendTimestamp not working properly -

i using appendtimestamp of assetmanager component

'assetmanager' => [ //append time stamps assets cache busting 'appendtimestamp' => true, ], 'cache' => [ 'class' => 'yii\caching\filecache', ],

it correctly adds timestamp after each asset shown: <link href="/frontend/web/assets/7b3fec74/css/arabic.css?v=1428761706" rel="stylesheet">

however when create changes css file, timestamp not update. because of filecache?

every time wish test new changes, need clear contents of web/assets folder

am required delete contents of assets folder every time wish test new assets?

the filecache component referred - has nil assets. responsible defined cache items :

yii::$app->cache->set('key', 'value') yii::$app->cache->get('key') ...

so there might problem assetmanager.

php yii2

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -