Invalidate the`http_response` cache tag if configuration has changed

Created on 29 November 2023, 12 months ago
Updated 23 April 2024, 7 months ago

Problem/Motivation

CORS headers can become cached in reverse proxies or Drupal's own page_cache. This module should invalidate the `http_response` cache tag so that cached responses are invalidated.

Steps to reproduce

Set up an environment with Varnish.

Access API resource with `fetch` to prime the cache

Change CORS

Access API resource with `fetch` and see same CORS headers

Proposed resolution

Invalidate the `http_response` cache tag

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mglaman WI, USA

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024