diff options
| author | Grace Kloba <klobag@google.com> | 2009-12-04 04:29:05 -0800 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2009-12-04 04:29:05 -0800 |
| commit | ba96ef8c08d3ad087bacac0e78349d988efac667 (patch) | |
| tree | a12e830dbef628aba34d4b731a0aff31c6716586 /WebCore/config.h | |
| parent | 9e881a4ed91921665fc9137fc408ca19eb5d0d0e (diff) | |
| parent | 460d4fa19ac597fe27cc530c2a1ce0ca459cef35 (diff) | |
| download | external_webkit-ba96ef8c08d3ad087bacac0e78349d988efac667.zip external_webkit-ba96ef8c08d3ad087bacac0e78349d988efac667.tar.gz external_webkit-ba96ef8c08d3ad087bacac0e78349d988efac667.tar.bz2 | |
am 460d4fa1: am 472affe3: Merge change Iceb63592 into eclair-mr2
Merge commit '460d4fa19ac597fe27cc530c2a1ce0ca459cef35'
* commit '460d4fa19ac597fe27cc530c2a1ce0ca459cef35':
Experimental change. Cache pages with unload event
Diffstat (limited to 'WebCore/config.h')
| -rw-r--r-- | WebCore/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/WebCore/config.h b/WebCore/config.h index 02958bc..127d1cb 100644 --- a/WebCore/config.h +++ b/WebCore/config.h @@ -189,6 +189,15 @@ // or if javascript tried to change the location. #define ANDROID_USER_GESTURE +// Enable pages with unloadEvent for page cache. See the blog in +// http://webkit.org/blog/427/webkit-page-cache-i-the-basics/ about this issue. +// And see the bug, https://bugs.webkit.org/show_bug.cgi?id=29021, for details. +// Currently WebKit doesn't cache pages with unloadEvent. This means that we +// won't cache a lot of common sites like cnn.com. Experimenting caching pages +// with unloadEvent for better back/forward navigation. Invoke unloadEvent when +// a page is cached. Invoke loadEvent when a page is restored. +#define ANDROID_PAGE_CACHE_UNLOAD + #endif /* PLATFORM(ANDROID) */ #ifdef __cplusplus |
