Active
Project:
Key
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2026 at 12:20 UTC
Updated:
28 Sep 2026 at 14:28 UTC
Jump to comment: Most recent
Drupal is very slowly moving to support persistent app servers as described in #2218651: [meta] Make Drupal compatible with persistent app servers like ReactPHP, PHP-PM, PHPFastCGI, FrankenPHP, Swoole. Key module's use of drupal_static() can cause keys to be exposed to the wrong user in such an environment, so we should refactor the caching to be clearly per request.
I'm opening this MR as an experiment against 1.x because that's what I'm using to test my site, but it should almost certainly be committed to Key 2.x instead.
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
Comment #3
mably commenteddrupal_static()is deprecated in core 11.5.