Learning the difference between active and staging directories
By now, you know that Drupal works with the two directories active
and staging
. But what is the intention behind those directories? And how do we use them?
The configuration used by your site is called the active
configuration since it's the configuration that is affecting the site's behavior right now. The current (active
) configuration is stored in the database and direct changes to your site's configuration go into the specific tables. The reason Drupal 8 stores the active configuration in the database is that it enhances performance and security. Source: https://www.drupal.org/node/2241059.
However, sometimes you might not want to store the active configuration in the database and ...
Get Drupal 8 Configuration Management now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.