aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2013-03-25 22:00:17 +0800
committerMilan Crha <mcrha@redhat.com>2013-03-25 22:00:17 +0800
commit929742a76f851411583717079d1013715930e4d2 (patch)
tree4343ee07df82b9c5535739969adcb099ce4bda0e
parent4b03f11c4c795e14d4041bb79048521f12891ee4 (diff)
downloadgsoc2013-evolution-929742a76f851411583717079d1013715930e4d2.tar
gsoc2013-evolution-929742a76f851411583717079d1013715930e4d2.tar.gz
gsoc2013-evolution-929742a76f851411583717079d1013715930e4d2.tar.bz2
gsoc2013-evolution-929742a76f851411583717079d1013715930e4d2.tar.lz
gsoc2013-evolution-929742a76f851411583717079d1013715930e4d2.tar.xz
gsoc2013-evolution-929742a76f851411583717079d1013715930e4d2.tar.zst
gsoc2013-evolution-929742a76f851411583717079d1013715930e4d2.zip
Bug #696185 - Disable WebKit's caching
-rw-r--r--e-util/e-web-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index 508681acc6..d3f088ed83 100644
--- a/e-util/e-web-view.c
+++ b/e-util/e-web-view.c
@@ -1659,6 +1659,10 @@ e_web_view_class_init (EWebViewClass *class)
NULL, NULL,
e_marshal_BOOLEAN__STRING,
G_TYPE_BOOLEAN, 1, G_TYPE_STRING);
+
+ webkit_set_cache_model (WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER);
+ webkit_set_default_web_database_quota (0);
+ webkit_application_cache_set_maximum_size (0);
}
static void