Allow to validate Apache/Nginx configuration requirement for aggregation folder before enabling aggregation.

Created on 30 August 2023, about 1 year ago
Updated 22 August 2024, 3 months ago

Problem/Motivation

It is a follow-up issue of πŸ’¬ Aggregation not working css and js cache directories not being created Postponed: needs info . The user may have a server configuration that does not pass the request to Drupal controller for folders of aggregated files.

Steps to reproduce

Use docker4drupal template with the latest Drupal project but using outdated drupal8 nginx configuration template.
Enable css/js aggregation.
The page will be rendered without aggregation css/js attached.

Proposed resolution

Provide the possibility to validate the server configuration before enabling css/js aggregation.

Remaining tasks

TBD;

User interface changes

A button near aggregation-related checkboxes on the Performance page.
Once the button is pressed, the validation script validates access and provides messages notifying access validation status.

API changes

-

Data model changes

-

Release notes snippet

-

✨ Feature request
Status

Needs work

Version

11.0 πŸ”₯

Component
Asset libraryΒ  β†’

Last updated about 5 hours ago

No maintainer
Created by

πŸ‡ΊπŸ‡¦Ukraine voleger Ukraine, Rivne

Live updates comments and jobs are added and updated live.
  • Needs change record

    A change record needs to be drafted before an issue is committed. Note: Change records used to be called change notifications.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024