web\AssetManager $appendTimestamp

$appendTimestamp public property (available since version 2.0.3)

Whether to append a timestamp to the URL of every published asset. When this is true, the URL of a published asset may look like /path/to/asset?v=timestamp, where timestamp is the last modification time of the published asset file. You normally would want to set this property to true when you have enabled HTTP caching for assets, because it allows you to bust caching when the assets are updated.

public boolean $appendTimestamp = false
doc_Yii
2016-10-30 17:14:32
Comments
Leave a Comment

Please login to continue.