- Issue created by @zilloww
- 🇨🇭Switzerland zilloww
@prachimudholkar,
Thank you for your response. I believe it may have been unintentional, but you deleted the content of my post. Could you please refrain from doing so? I haven't found a solution for my issue on this Stack Exchange, but it might be beneficial for others.
On a related note, I discovered what's happening! In the file "drupal/web/core/core.services.yml," there's a line that sets the "required_cache_contexts." This configuration specifies the default cache contexts for every cached element on the website, this configurations sets the context "user.permissions" as a default cache context which likely explains a lot because permissions are assigned by roles.
Since every cache is constructed with the "user.permissions" context, it seems normal for User Y to experience a CACHE MISS when User X receives a CACHE HIT. This happens because the page cache misses due to differing permissions between the two users. However, the page cache has placeholders (including one pointing to the cache of my list), which means the list's cache HITS. Therefore, the page is rebuilt for each user from a different group, but not the list, which is a positive outcome.
This appears to be just typical behavior of the Drupal caching system. If anyone has a different perspective or explanation, I am open to suggestions.
- Status changed to Postponed: needs info
1 day ago 11:20pm 25 January 2025 - 🇳🇿New Zealand quietone
The Drupal Core issue queue is not the ideal place for support requests. The 'support request' option is there for filing support issues for contributed modules and themes. There are several support options listed on our support page → (Community > Support at the top of Drupal.org) and there is Drupal Slack → . You may get better replies in one of those places.
Was this answered by the link provided in #2?