Don't cache by url context

Created on 3 October 2024, 3 months ago

Problem/Motivation

Found the cookiesui block is being cached by url. I don't think this is necessasy.

I found it was added in https://git.drupalcode.org/project/cookies/-/commit/e9419419 and propably it is a leftover from the other project's code copied over.

Steps to reproduce

Enable module. Place block. Navigate some pages. Check cache_render entries -> select cid from cache_render where cid like 'entity_view:block:cookiesui:%';

Proposed resolution

Don't add url cache context to the render array.

Remaining tasks

MR

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Needs work

Version

1.2

Component

Code

Created by

🇪🇸Spain jonhattan Plasencia

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

Comments & Activities

Production build 0.71.5 2024