Cms: Assetbundle timestamps gone?

Created on 25 Feb 2021  路  3Comments  路  Source: craftcms/cms

Description

I noticed that, I think since 3.6, the assetbundles nor cpresources are getting timestamped. Is this on purpose or did something change?

Example url now https://white.nl/en/cpresources/654bcd49/ccc.js vs then https://white.nl/en/cpresources/654bcd49/ccc.js?v=1613655793

Additional info

  • Craft version: 3.6.7
  • PHP version: 7.4.10
  • Database driver & version: MySQL 5.7
bug

All 3 comments

Yeah you鈥檙e right. Looks like this is a Yii bug. I just reported it here: https://github.com/yiisoft/yii2/issues/18529

Will update this as I find out more.

The Yii team has fixed the bug for the next release, which should be any day now.

Yii 2.0.41 was just released, and I鈥檝e pulled it in for the next Craft release. Verified that the asset timestamps are back now 馃帀

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leigeber picture leigeber  路  3Comments

angrybrad picture angrybrad  路  3Comments

mattstein picture mattstein  路  3Comments

timkelty picture timkelty  路  3Comments

RitterKnightCreative picture RitterKnightCreative  路  3Comments