0

I just put merge and minify html css and js to yes in admin panel of magento2.1. I'm in production mode and clean and flush cache and indexer are reindex but still I see all css and js files in page source that are not merged and minified. What should i do?

0

Try This Command And Check :-

bin/magento setup:upgrade

bin/magento indexer:reindex

bin/magento deploy:mode:set production -s

#Here was the secret: run the di:compile after production
bin/magento setup:di:compile  

bin/magento setup:static-content:deploy

Merged JS and CSS do not work when Production mode Ask

  • Did it, nothing happens – MGPM Aug 13 at 13:40

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.