HTTP Cache Control form field setting not getting changed on CIM

Created on 14 June 2023, about 1 year ago
Updated 17 January 2024, 5 months ago

HTTP Cache control values on config import commands have not been observed to change.
We observed that, performence.system config is retrieving data related to the field values at the time of cim, it is seen that the values are saving under an individual configuration (http_cache_control.settings) under http_cache_control_form_system_performance_settings_alter.

Step to reproduce:
1. Here (/admin/config/development/performance ) if we make any change under Shared cache max age
2. Go to "admin/config/development/configuration/single/export" and select system.performance.yml from the single export, here we see, changes we had done above are not reflecting.

Drupal version: 9.5.9
Module version: 8.x-2.0

💬 Support request
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

🇮🇳India Shifali Baghel Gurgaon

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

Comments & Activities

  • Issue created by @Shifali Baghel
  • 🇮🇳India Shifali Baghel Gurgaon

    Hi Josh Waihi @fiasco, hope you are doing well.

    I saw a few things, and the problem was with the two YML files for a single form. In my view, each configuration form should have its own configuration file. Could this separate module's configuration (http_cache_control.settings.yml) be moved to this "system.performance.yml" file?
    Please share your opinions with me on this.

    Thank you

  • 🇳🇿New Zealand Josh Waihi

    Hi @Shifali Baghel, I don't quite understand why we need to move the settings to under system.performance. It seems cleaner to keep the module's configuration under its own namespace to prevent collisions with other modules and mitigate potential core bugs using another module's namespace.

  • Status changed to Closed: works as designed 5 months ago
  • 🇧🇪Belgium DieterHolvoet Brussels

    Exactly, a contrib module shouldn't add extra config options to core config.

Production build 0.69.0 2024