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
Extensibility #177
Comments
See changes above. I don't think it's necessary to establish a registry at this point; a future spec can do that if necessary, or they can just update this one. |
I am not firmly against having Consider the case of using another encoding. In the case, it is likely that we would need to have attributes other than Also in the case of sending stale digest only (a browser may not have any fresh resources cached), there's no need to send a Digest-Value of fresh entries. To summarize, number of octets saved for having the Digest-Length field is as follows.
As can be seen, it is unclear if we gain or loose. Considering the fact that digests would be more than just a few octets, I think we can live out without trying to make this small optimization. PS. If we are to use separate CACHE_DIGEST frames for sending every kind of digest (in other encoding or covering stale cache entries), I think we should use the |
I'm absolutely fine with not having Digest-Length; I'd just thought that the conclusion of the discussion on the pull request was that the frame type needed to be extensible, and that seemed like the simplest way to allow it.
In #176 you prefer putting the partial/complete flag in the payload; I tend to think that we should have one place for flags. We could just go ahead and define the following two header flags:
... leaving the rest for future definition. WRT changing the digest encoding/format - I tend to think that we might as well define a new frame type if we want to do that (that's very much in the spirit of H2 extensibility; frame types are reasonably cheap). |
👍 Thank you for the clarification.
Sounds sensible. No objections.
+1 to adding For stale digest, I believe we need to figure out how to push a cache validator (and my preference goes to And as said, I have no objections on defining
Yeah! Thank you for standardizing H2. |
|
@mnot Thank you for the clarification. It does make sense and I agree that we should have it. |
Thank you for the updates!
I have no objections to omitting
Sounds like a sensible thing to do. Regarding the flags, could we define I am not sure what we can gain by having the two defined separately - I believe they would always be used together (both set to 1, or both set to zero). |
It would allow you to push the validators for fresh responses, in case someone wanted to invalidate something that's fresh. Not a use case now, but it might be interesting in the future. |
Thank you for the clarification. Understood. No objection to having two flags. |
... to express things like evolved digest formats, inclusion of stale cache entries, etc. as discussed in #167.
The text was updated successfully, but these errors were encountered: