How to speed up Dashboard?

If your stand on Debian 9 is experiencing delays in the execution of actions in the Dashboard, perhaps the reason is that the prefork option of the mdm module is used, while for faster graphics performance, the worker option is preferable. To enable the worker work, do the following:

  1. Check the state of the mpm module using apachectl utility:

    apachectl -M | grep mpm
    
  2. If the option prefork is enabled instead of worker, the first step is to disable php7.0:

    a2dismod php7.0
    
  3. Next, disable the prefork option and enable the worker option:

    a2dismod mpm_prefork
    a2enmod mpm_worker
    
  4. Restart apache2:

    systemctl restart apache2
    
  5. Check that worker is enabled:

    apachectl -M | grep mpm