Skip to content

Ability to dump / set a cache value in the console if available #37859

@lerminou

Description

@lerminou

Description
We use the Symfony cache component to have hot configuration values which are updated without the need to clear the cache .
We have a dynamic configuration WS in our company, so we don't use parameters.yml or static files, something like that.

For the production exploitation or support questions, we need to have a fast command to check the actual value of the cache. (and maybe set another value. for some kind of hard bug in production)
So I wanted to use a command like: cache:pool:get --key
I'm asking myself why this command is not out if the box in the available commands. Is there any limitations due to a third-party cache provider or something else ?

Example

Actually, There are some command to manage the deletion of a cache:pool:
      cache:pool:clear             
      cache:pool:delete            
      cache:pool:list              
      cache:pool:prune  

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions