2

Can we configure global variable SCD_ON_DEMAND variable in env.php or somewhere else to mention about it for Magento 2 open source edition projects.

This SCD_ON_DEMAND variable is using in Magento 2.3 cloud setup. If its true then it will skips Static content deploy during build and deployment.

In Magento 2.2.x developer mode, SCD is not required at all but any settings or configuration available for open source edition so one can use for production mode also.

SCD - static content deploy

asked Feb 8, 2019 at 2:17

1 Answer 1

2

Currently, you can add the next code to env.php file only manually:

return [
 ...
 'static_content_on_demand_in_production' => 1,
 ...
];
answered Feb 12, 2019 at 18:06

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.