DescriptionAllow cache reuse of some requests with Cache-Control headers
Traditionally, we have carefully handled Cache-Control headers that were set on a ResourceResponse, but have pretended Cache-Control doesn't exist on ResourceRequests. As of http://src.chromium.org/viewvc/blink?view=rev&rev=165603, we do the smarter naive thing, and never allow resources to be reused from MemoryCache if the ResourceRequest includes a Cache-Control header.
This patch moves ResourceResponse's Cache-Control parsing to HTTPParsers and handles Cache-Control headers consistently, whether the header appears on a ResourceRequest or a ResourceResponse.
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171178
Patch Set 1 #Patch Set 2 : #
Total comments: 1
Patch Set 3 : + parser test #Patch Set 4 : + one more testcase #Patch Set 5 : #
Messages
Total messages: 13 (0 generated)
|