A faster route to deploying static content in Magento 2? Dev to Live etc?

前端 未结 8 653
名媛妹妹
名媛妹妹 2021-01-30 07:02

This is my environment. Please note this is also set in the relevant development modes and production modes.

Dev:
https://ar.dev.loc/
https://en.dev.loc/

Live:
         


        
8条回答
  •  有刺的猬
    2021-01-30 07:42

    I have also noticed that if you have css and js signing on, it seems to be get wacked out if you run setup upgrade, it then breaks the version and it waks out the css/js until you do a rebuild the static content.

    I have no idea how they think this should work for people in production. Just about anything can get it out of wack and you have to rebuild.

    I have had a bit of luck with 1. turn css/js signing on 2. then you can run static content deploy, seems to keep the ur pretty intack 3. flush cache (then adds the new version12312312 to the static urls)

    But seriously, no way to be rock solid with deployments.

    TheBlackBenzKid very curios where you ended up a year later, did you dump magento?

提交回复
热议问题