⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 185701 in webkit


Ignore:
Timestamp:
Jun 18, 2015, 8:25:40 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL][WK2] Use Web Browser cache model in MiniBrowser
https://bugs.webkit.org/show_bug.cgi?id=112273

Patch by Christophe Dumez <Christophe Dumez> 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):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r185698 r185701  
     12015-06-18  Christophe Dumez  <ch.dumez@sisa.samsung.com>
     2
     3        [EFL][WK2] Use Web Browser cache model in MiniBrowser
     4        https://bugs.webkit.org/show_bug.cgi?id=112273
     5
     6        Reviewed by Laszlo Gombos.
     7
     8        Set cache model to EWK_CACHE_MODEL_PRIMARY_WEBBROWSER in EFL's MiniBrowser
     9        instead of leaving the default value (EWK_CACHE_MODEL_DOCUMENT_VIEWER).
     10        This way we have a decent cache capacity and the page cache actually works.
     11
     12        * MiniBrowser/efl/main.c:
     13        (elm_main):
     14
    1152015-06-18  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
    216
  • trunk/Tools/MiniBrowser/efl/main.c

    r185449 r185701  
    24532453    ewk_context_favicon_database_directory_set(context, NULL);
    24542454
     2455    // Use a proper cache model.
     2456    ewk_context_cache_model_set(context, EWK_CACHE_MODEL_PRIMARY_WEBBROWSER);
     2457
    24552458    if (cookies_policy_string) {
    24562459        Ewk_Cookie_Accept_Policy cookie_policy = parse_cookies_policy(cookies_policy_string);
Note: See TracChangeset for help on using the changeset viewer.