9

I noticed that the "Disable Developer Modules" link in the Administration Menu module disabled the Views UI module. I'm under the impression that the purpose of disabling the developer modules is to reduce performance impacts. But I didn't think the Views UI module would have an affect on performance. Does leaving Views UI enabled in production have any performance impact? Is there any other reason to disable this module on a production site?

11

Every enabled module affect performance, just for the fact they are loaded, and parsed from PHP. views_ui.module, in the branch 6.x-3.x-dev of Views, is 10355 bytes.
There are then hooks that are invoked from Drupal, even if you are not using anything from the Views UI module, such as views_ui_help(), views_ui_menu(), views_ui_theme(), or views_ui_library_alter().

Another reason to disable unused modules is avoiding possible security issues.

  • Is this still relevant in D8 given the architecture changes? Also you can't deactivate modules in 8, but I've also seen a couple of examples of people blacklisting config for Field UI, Views UI etc. from production using config_split – William Turrell Jul 22 '18 at 7:15
  • 1
    Yes, except that Drupal 7 enabled modules are Drupal 8 installed modules, since it is not possible to disable modules on Drupal 8. The Configuration Split module is used when exporting the configuration, so that part of the configuration files are put in a different directory; it is normally used when importing configuration from a development site, to avoid the settings for modules like the ones you list go in the production server. – kiamlaluno Jul 22 '18 at 7:24

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.