[evolution] Bug #696185 - Disable WebKit's caching
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug #696185 - Disable WebKit's caching
- Date: Mon, 25 Mar 2013 14:00:45 +0000 (UTC)
commit 929742a76f851411583717079d1013715930e4d2
Author: Milan Crha <mcrha redhat com>
Date: Mon Mar 25 15:00:17 2013 +0100
Bug #696185 - Disable WebKit's caching
e-util/e-web-view.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c
index 508681a..d3f088e 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]