hello list,

since qt 4.7 has landed rekonq really rocks! However, there is one thing thats
quite annoying. Bug 208132: "back-button should only
display last page without re-rendering it"

Fixing this is easy, add

"defaultSettings->setMaximumPagesInCache(3);"

to application.cpp and enjoy the speedup.

This feature strongly depends on the adblock: Without adblock, all the
javascript/flash ads are being loaded and prevent pagecache from working on
heavily "polluted" websites (e.g. www.spiegel.de). With adblocker and the 
option "Hide filtered Elements" enabled yaou will notice a delay on going back 
to lage websites such as www.planetkde.org. Disabling "Hide filtered elements" 
solves this problem for me.

Pagecache is explained here:
http://webkit.org/blog/427/webkit-page-cache-i-the-basics/

Arora has added this feature since version 0.10.0 and its working fine for 
them:
http://github.com/Arora/arora/blob/master/src/browserapplication.cpp (line 
385)
They made the number of cached pages a user choice. Maybe thats an option for 
rekonq, too as pagecache increases the memory consumption. However, 3 pages 
appears to be a good choice for me.

cheers,

crabman
diff --git a/src/application.cpp b/src/application.cpp
index 7e94922..ee7c6e1 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -478,6 +478,7 @@ void Application::updateConfiguration()


     // ================ WebKit ============================
+    defaultSettings->setMaximumPagesInCache(3);
     defaultSettings->setAttribute(QWebSettings::AutoLoadImages, ReKonfig::autoLoadImages());
     defaultSettings->setAttribute(QWebSettings::DnsPrefetchEnabled, ReKonfig::dnsPrefetch());
     defaultSettings->setAttribute(QWebSettings::JavascriptEnabled, ReKonfig::javascriptEnabled());

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq

Reply via email to