8000 [HttpKernel] Add `no-store` and `no-cache` cache control directives to `#[Cache]` attribute · Issue #60060 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Crovitche-1623 opened this issue Mar 27, 2025 · 1 comment

Comments

@Crovitche-1623
Copy link

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

@94noni
Copy link
Contributor
94noni commented Mar 27, 2025

there is the no-store since 7.3
i dont know for no-cache

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
0