From ac9de62d2bdc3f16a43cc6681e0a10a9a366a54f Mon Sep 17 00:00:00 2001 From: Grace Kloba <> Date: Tue, 24 Mar 2009 17:37:48 -0700 Subject: Automated import from //branches/donutburger/...@140424,140424 --- core/java/android/webkit/ContentLoader.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/java/android/webkit/ContentLoader.java b/core/java/android/webkit/ContentLoader.java index fb01c8c..f6d7f69 100644 --- a/core/java/android/webkit/ContentLoader.java +++ b/core/java/android/webkit/ContentLoader.java @@ -105,6 +105,9 @@ class ContentLoader extends StreamLoader { if (mContentType != null) { headers.setContentType("text/html"); } + // override the cache-control header set by StreamLoader as content can + // change, we don't want WebKit to cache it + headers.setCacheControl("no-store, no-cache"); } /** -- cgit v1.1