[rekonq] [PATCH] use pagecache

Kilian Lackhove kilian.lackhove at gmail.com
Tue Oct 12 17:26:27 CEST 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pagecache.diff
Type: text/x-patch
Size: 598 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/rekonq/attachments/20101012/ea30aa4a/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/rekonq/attachments/20101012/ea30aa4a/attachment.sig 


More information about the rekonq mailing list