Skip to content

[HttpKernel] Add no-store and no-cache cache control directives to #[Cache] attribute #60060

Open
@Crovitche-1623

Description

@Crovitche-1623

Description

They are missing directives such as no-store or no-cache from the cache control header in the Symfony\Component\HttpKernel\Attribute\Cache attribute. I don't know if it's intentional but I think it would be a good idea to add them to match the Symfony\Component\HttpFoundation\Response::HTTP_RESPONSE_CACHE_CONTROL_DIRECTIVES

Example

No response

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