-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[HttpCache][WIP] Use RFC9211 Cache-Status #60078
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
base: 7.4
Are you sure you want to change the base?
[HttpCache][WIP] Use RFC9211 Cache-Status #60078
Conversation
@@ -29,6 +29,8 @@ class HeaderBag implements \IteratorAggregate, \Countable, \Stringable | |||
protected array $headers = []; | |||
protected array $cacheControl = []; | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blank line can be removed
@@ -127,6 +127,7 @@ public function testInvalidatesOnPostPutDeleteRequests() | |||
|
|||
$this->assertHttpKernelIsCalled(); | |||
$this->assertResponseOk(); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert
@franckranaivo do you intend to continue this ? Btw, it would be great to update the description of the PR to include some usage examples. It makes the review much easier. |
@@ -29,6 +29,8 @@ class HeaderBag implements \IteratorAggregate, \Countable, \Stringable | |||
protected array $headers = []; | |||
protected array $cacheControl = []; | |||
|
|||
protected array $cacheStatus = []; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this array is unused
This PR is intended to answer #58985 by using Cache-Status directives as described here.