I enabled the setting to minify and merge JS & CSS. When I run static-content:deploy it does generate files with a .min.(css|js) appendage and the file contents are minified.

However, when I load either front end or adminhtml, it is requesting the none minified files.

Anyone know why it’s doing it?


  • which mode you are using ? – Pawan Oct 28 '18 at 3:48
  • production mode – Nick Babenko Oct 28 '18 at 9:50

You need also flush cache after this.

php bin/magento c:f
  • Did that. It's also a completely fresh server instance & installation from composer. – Nick Babenko Oct 28 '18 at 9:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.