Closed (fixed)
Project:
Components!
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2025 at 07:47 UTC
Updated:
1 May 2025 at 06:29 UTC
Jump to comment: Most recent
Similar to #3500687: Use bootstrap cache bin in ThemeExtensionList, I think it makes sense to use the bootstrap cache bin since this is information that's used on basically every request including dynamic page cache hits.
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
berdirCreated a merge request.
Comment #4
acbramley commentedComment #6
acbramley commentedI don't fully grok how different cache bins interact with different parts of the request but I trust your judgement here :) thanks!
Comment #7
berdirThanks for merging.
TLDR: bootstrap (and config + discovery) cache bins use APCu to keep the caches in memory. All other cache bins always do a database/redis/memcache query. Things that are used often (this is used on dynamic page cache hits that need to render placeholders), aren't big and don't have many variations benefit from being put in those cache bins.