'assetManager' => [
'appendTimestamp' => true,
], to config/web.phpThere should be a "v=........."behind href="/basic/web/css/site.css"
no "v=..." append to the .css or .js
On Yii 2.0.38, this issue can not be reproduced.
| Q | A
| ---------------- | ---
| Yii version | 2.0.39.2
| PHP version | 7.4.10
| Operating system | Windows 10
@Baleen-Y could you take a look at this?
@wenjiehu
I followed your process and did not reproduce the same version and environment.
Is it convenient to create a demo?
How are you adding the CSS file to the page?
@Baleen-Y Sorry, I don't have a host now. But I attached 2 images here. At the bottom of each images, you can see the difference of the site.css link, and you can also see the corresponding Yii versions in these images.


and here are my config files:
config.zip
and here are my config files:
config.zip
Sorry, it is normal to use your configuration

Closing since we can't reproduce it. @Baleen-Y thanks for trying it out.