Speed up Drupal CMS launch

Created on 20 December 2024, 26 days ago

Problem/Motivation

Users need to see the choices presented during installation, but HTTP latency makes the installation progress bar slow. If we pre-install Drupal to speed it up, Drupal will not redirect users to the installation screen.

Steps to reproduce

  1. Launch Drupal CMS locally with DDEV.
  2. Launch Drupal CMS on Drupal Forge.
  3. Compare the speed of the installation progress bar.
  4. Launch Drupal 11 locally with DDEV.
  5. Observe that it redirects to the installer.
  6. Close the installer at the configuration screen.
  7. Visit the home page.
  8. Observe that it no longer redirects to the installer.

Proposed resolution

The Drupal CMS Installer profile uninstalls itself at the end of installation. This means we can complete installation tasks that do not require user input before the site is launched. If the Drupal CMS Installer profile is installed, we know we need to redirect to the installer.

Remaining tasks

  1. Write code to redirect to the installer if the Drupal CMS profile is installed.
  2. Create a Drush command to run installer tasks that do not require user input.
  3. Add the Drush command to the Starshot DevPanel init script.

User interface changes

Installation tasks that do not require user input are completed before site is launched.

API changes

None.

Data model changes

None.

πŸ“Œ Task
Status

Active

Component

drupalforge.org

Created by

πŸ‡ΊπŸ‡ΈUnited States darren oh Lakeland, Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024