Log Message
[EFL][WK2] Use Web Browser cache model in MiniBrowser https://bugs.webkit.org/show_bug.cgi?id=112273
Patch by Christophe Dumez <[email protected]> on 2015-06-18 Reviewed by Laszlo Gombos. Set cache model to EWK_CACHE_MODEL_PRIMARY_WEBBROWSER in EFL's MiniBrowser instead of leaving the default value (EWK_CACHE_MODEL_DOCUMENT_VIEWER). This way we have a decent cache capacity and the page cache actually works. * MiniBrowser/efl/main.c: (elm_main):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (185700 => 185701)
--- trunk/Tools/ChangeLog 2015-06-18 14:13:58 UTC (rev 185700)
+++ trunk/Tools/ChangeLog 2015-06-18 15:25:40 UTC (rev 185701)
@@ -1,3 +1,17 @@
+2015-06-18 Christophe Dumez <[email protected]>
+
+ [EFL][WK2] Use Web Browser cache model in MiniBrowser
+ https://bugs.webkit.org/show_bug.cgi?id=112273
+
+ Reviewed by Laszlo Gombos.
+
+ Set cache model to EWK_CACHE_MODEL_PRIMARY_WEBBROWSER in EFL's MiniBrowser
+ instead of leaving the default value (EWK_CACHE_MODEL_DOCUMENT_VIEWER).
+ This way we have a decent cache capacity and the page cache actually works.
+
+ * MiniBrowser/efl/main.c:
+ (elm_main):
+
2015-06-18 Gyuyoung Kim <[email protected]>
Remove redundant Chromium bug keyword
Modified: trunk/Tools/MiniBrowser/efl/main.c (185700 => 185701)
--- trunk/Tools/MiniBrowser/efl/main.c 2015-06-18 14:13:58 UTC (rev 185700)
+++ trunk/Tools/MiniBrowser/efl/main.c 2015-06-18 15:25:40 UTC (rev 185701)
@@ -2452,6 +2452,9 @@
// Enable favicon database.
ewk_context_favicon_database_directory_set(context, NULL);
+ // Use a proper cache model.
+ ewk_context_cache_model_set(context, EWK_CACHE_MODEL_PRIMARY_WEBBROWSER);
+
if (cookies_policy_string) {
Ewk_Cookie_Accept_Policy cookie_policy = parse_cookies_policy(cookies_policy_string);
ewk_cookie_manager_accept_policy_set(ewk_context_cookie_manager_get(context), cookie_policy);
_______________________________________________ webkit-changes mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-changes
