DescriptionGenerate an etag for chrome-extension:// file requests.
This allows code downstream to use those headers as caching
signals, and optionally cache extension files, or files
derived from extension files.
Whenever an etag is sent, send "cache-control: no-cache"
so that downstream users know it's a good idea to
revalidate.
One downstream is PNaCl, which would like to use standard
cache-related http response headers to determine how
to cache translations of bitcode. Currently, only bitcode
downloaded from web servers have such headers, and this CL
adds headers for bitcode "downloaded" from chrome extensions.
See chromium-dev discussion: "Add to HttpResponse headers
for chrome/browser/extensions/extension_protocols"
BUG=https://code.google.com/p/nativeclient/issues/detail?id=2992
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203830
Patch Set 1 #Patch Set 2 : on the different threads #Patch Set 3 : cleanup #Patch Set 4 : rename #
Total comments: 4
Patch Set 5 : cleanup #
Total comments: 5
Patch Set 6 : ToInternalValue #
Messages
Total messages: 10 (0 generated)
|