Major PageCache Issue

Created on 11 June 2025, 22 days ago

Problem/Motivation

By setting static::ALLOW in the HeadlessPreviewRequestPolicy class, the entire page cache of the Drupal install is impacted, because this essentially forcefully enables page cache for all NON-Preview Routes.

Steps to reproduce

Install the headless cms preview module and watch the backend break.

Proposed resolution

Return NULL instead of ALLOW in the policy.

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇦🇹Austria chfoidl Salzburg

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

Comments & Activities

Production build 0.71.5 2024