Drop MemoryCache support for non-GET requests
Have Resource::CanReuse return false when the request method is not GET. This is harmless because currently all the preload requests and requests that can be served from the MemoryCache are GET requests, given that RawResources are not served from the MemoryCache. This change will allow us not to store the request body in Resource, which will be important when we introduce streaming upload because we do not want to copy a streaming request body. Bug: 688906 Change-Id: I5b1b01a6f003378f0ac33f528d209c610178fa29 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2024627Reviewed-by:Yoav Weiss <yoavweiss@chromium.org> Reviewed-by:
Hiroshige Hayashizaki <hiroshige@chromium.org> Reviewed-by:
Yoichi Osato <yoichio@chromium.org> Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#736237}
Showing
Please register or sign in to comment