Change cache context

Created on 26 July 2022, over 2 years ago
Updated 22 June 2023, over 1 year ago

Problem/Motivation

IDPC (Internal dynamic page cache) always not working.

Proposed resolution

Change

$variables['#cache']['contexts'][] = 'user';

to

$variables['#cache']['contexts'][] = 'user.permissions';
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇷🇺Russia batkor Irkutsk

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024