Active
Project:
Drupal core
Version:
main
Component:
block.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2026 at 14:35 UTC
Updated:
27 Sep 2026 at 14:35 UTC
Jump to comment: Most recent
When FrankenPHP worker mode reuses Drupal's container, block access decisions survive requests. The inherited access cache keys decisions by account, entity, language, and operation but not the request path.
/user/*./user/login and /thank-you, bypassing response caching./user/login.I'm not sure what the best solution is here. One option would be to call the block access handler's resetCache() at the start of the main request. Caching needs to be preserved within a single request and its subrequests, but should not be preserved across requests.
AI disclosure: I used AI to help prepare the IS and MR (Astra).
Comments