Problem/Motivation
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.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork components-3500811
Show commands
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.