Never use aggregation in maintenance mode.

Created on 21 November 2018, about 6 years ago
Updated 11 September 2023, over 1 year ago

When we are in ANY maintenance mode, we do not want to allow aggregation.

When the database is down and the site is in error maintenance mode, the error pages would be attempting to do aggregation without having any way to update the state, causing additional load. The fallback maintenance page does not have any business attempting to aggregate anyway.

This check for != update mode had originally been intended in #199946: Stale css+js files on upgrade to prevent both miscaching and exposing the drupal version, but it should have been taken out when the logic was changed to use an incrementing number.

You can see the original code that led to this in #199946-22: Stale css+js files on upgrade .

🐛 Bug report
Status

Fixed

Version

7.0 ⚰️

Component
Theme 

Last updated about 1 hour ago

Created by

🇺🇸United States bdragon

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024