Problem/Motivation

Cache tags for placeholders are bubbled by HtmlResponseSubscriber::onRespond(), this event subscriber has the same priority as CacheableResponseSubscriber::onRespond() (0).
This causes several problems:

Steps to reproduce

Try to create an event subscriber that alters the placeholder cache tags before the Cache-Tags header is generated.

Proposed resolution

CacheableResponseSubscriber should use a lower priority.

Issue fork purge-3274608

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

prudloff created an issue. See original summary.

prudloff’s picture

Status: Active » Needs review
prudloff’s picture

The failing phpunit tests seem to be unrelated: #3575520: Invalid data provider in phpunit test