Open dantart opened 7 years ago
I have exactly the same problem
@dantart did you found any solution?
Try to configure in your project:
'components' => [
'assetManager' => [
'appendTimestamp' => true,
]
]
Thanks for your quick reply... That didn't help, I'm using old version and had to change few lines in AssetsAutoCompressComponent.php
Hi: Weird behaviour. I have this config:
1) I start the test deleting my assets folder 2) I load the page and I see that js-compress files are created and in the source code I see just one call to a big js (minified of all my original js) 3) I reload the page and then I see my dozens of js loaded as minified would have not worked 4) Just if I delete again the assets folder, then the minified version is created correctly
So, it's just working JUST AFTER deleting the assets folder ... if there's something already created in the folder, it will not minified.
I have tried with other configuration, even turning everything off and just turn on the jsCompress. Same behaviour
Thank you for any help!