[PATCH] soft vs hard reload in Konqueror and khtml

Germain Garand germain at ebooksfrance.org
Tue Jul 29 03:10:18 BST 2008


Le samedi 12 juillet 2008, vous avez écrit :
> Hi all,
>
> Please find attached my first proper patch for KDE! :)  It should go some
> way to fixing the following bug, although I don't think it is precisely
> what he is asking for:
>
> http://bugs.kde.org/show_bug.cgi?id=137720
>
> Briefly, it makes khtml respect the softReload member of BrowserArguments -
> currently, when a page is reloaded, khtml largely ignores cached copies of
> images and re-downloads nearly all of them, using quite a lot of bandwidth.
> On a low-bandwidth connection, this can be quite painful, especially when
> reading an image-heavy page whose textual context changes often, such as
> eBay or a web forum.
>
> As far as I can tell, most non-khtml browsers *appear* to use the reloading
> & caching strategy imposed by this patch, and they implement what is the
> current default behaviour of khtml by allowing the user to initiate a
> "hard" reload with a keyboard shortcut - typically CTRL+F5 - that forces a
> re-download of all images, ignoring the cache.

Hi Simon,
the patch looks nice to me...
It could be even better to check if other browsers apply the same strategy to 
other cached elements (e.g. stylesheets) and not special-case images.

OTOH images are indeed what will most significantly affect the page reloading 
time (by far), so it's already very nice as is and could go in IMO.

Greetings,
Germain

---
short on time until August 10th





More information about the kfm-devel mailing list