DescriptionReland "Allow 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=
This relands r171178.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171375
Patch Set 1 #Patch Set 2 : +fix #Patch Set 3 : #
Messages
Total messages: 20 (0 generated)
|