
Currently Chromium is using "expires" option in Use-As-Dictionary response header for the dictionary lifetime. The option name has been renamed to "ttl" in the spec discussed in IETF HTTPWG. And the new change in the spac [1] removed this, and the lifetime should be calculated from the response's freshness [2]. After this CL, when V2 backend is enabled, Chromium will not check "expires" option, and it will check the response's freshness. [1]: https://github.com/httpwg/http-extensions/pull/2709 [2]: https://datatracker.ietf.org/doc/html/rfc9111#name-freshness Bug: 1413922 Change-Id: Idd2cdeb526099a1f2854ea0094541cedc0a64af8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5227360 Commit-Queue: Tsuyoshi Horo <horo@chromium.org> Reviewed-by: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1251343}