diff options
author | adamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-19 21:13:20 +0000 |
---|---|---|
committer | adamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-19 21:13:20 +0000 |
commit | fdeb7a81b13e68dae850a7d56347fa6a13405815 (patch) | |
tree | 13e8f453223a4637f5f1049d66d1e18f394ec4e7 /third_party | |
parent | a1ce752721b6e3c5307a1a202ae01b9a26f442cb (diff) | |
download | chromium_src-fdeb7a81b13e68dae850a7d56347fa6a13405815.zip chromium_src-fdeb7a81b13e68dae850a7d56347fa6a13405815.tar.gz chromium_src-fdeb7a81b13e68dae850a7d56347fa6a13405815.tar.bz2 |
Add 'Cache-Control: no-cache' to filesystem: responses to avoid
having them improperly cached in WebKit's memory cache.
Note that this change as currently written may be unnecessarily
bad for performance, since the file must be read from disk on
every access. For some use cases, this could be quite expensive.
The right fix is probably to put a 'Last-Modified' header in the
response along with 'Cache-Control: max-age: 0', but for now
I'm favoring correctness over performance.
R=michaeln@chromium.org
BUG=79539
TEST=layout test at http://webkit.org/b/58854
Review URL: http://codereview.chromium.org/6879022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82156 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions