diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-10-12 18:19:50 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-10-12 18:19:50 +0200 |
commit | aaebac2ce417d7af074f86e8cce0eb44cc611332 (patch) | |
tree | d6fb60194c97d1649151d9b41f262f02013efcdd | |
parent | This change to be sure universal XSS bug has been fixed. (diff) | |
download | rekonq-aaebac2ce417d7af074f86e8cce0eb44cc611332.tar.xz |
Enabling WebKit Page Cache feature: please, refers to
http://webkit.org/blog/427/webkit-page-cache-i-the-basics/
to see what I'm referring about..
CCBUG:208132
PS: Thanks, Kilian :)
-rw-r--r-- | src/application.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/application.cpp b/src/application.cpp index 7e949220..c7f24039 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -493,6 +493,9 @@ void Application::updateConfiguration() else defaultSettings->setAttribute(QWebSettings::PluginsEnabled, true); + // Enabling WebKit "Page Cache" feature: http://webkit.org/blog/427/webkit-page-cache-i-the-basics/ + defaultSettings->setMaximumPagesInCache(3); + // ===== HTML 5 features WebKit support ====== defaultSettings->setAttribute(QWebSettings::OfflineStorageDatabaseEnabled, ReKonfig::offlineStorageDatabaseEnabled()); defaultSettings->setAttribute(QWebSettings::OfflineWebApplicationCacheEnabled, ReKonfig::offlineWebApplicationCacheEnabled()); |