[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    patch available: new http cache strategy for low-bandwidth
From:       MG <maps4711 () gmx ! de>
Date:       2003-11-27 20:46:20
[Download RAW message or body]

Hi,

I hope this is the correct mailing list for discussion about the webbrowsing 
cache of Konqueror.

I have patched the kio_http slave and some parts of the HTML rendering engine 
to allow (or fix?) offline web browsing. The patch also disables some http 
requests. 

If the patched kio_http is configured for the new caching strategy it will 
cache all requested http objects regardless of the webserver's wish. It also 
caches redirections. If Konqueror is instructed to do offline browsing then, 
the kio_http slave is now able to fetch all the read objects from its cache, 
including redirections. This results in webpages to be displayed as they have 
been when viewed online (at least on my computer :-)  Please note that 
reloading of webpages still works as expected. Pressing F5 in Konqueror still 
reloads the webpage and all of its contents from the webserver.

Another modification is that http request resulting from elements inside HTML 
pages (<img src=> for example, I couldn't get frames to work easily) will 
always use the http cache if the cache entry is not older than 120 
(configurable) seconds. I find this very useful for news webpages where you 
often click on the subject line of an article to read it and then go back to 
the overview again. It increases the surfing speed on my low 56K modem 
connection considerably.  

This new cache strategy is available as an option besides the traditional 
behaviour.

I modified the sources of KDE 3.1.4.  Unfornatunately I cannot upgrade to the 
CVS version due to severe bandwidth constraints (56K, as written above :-|). 

The patch is 34K big. If you are interested just write me an email.

Greets,
Matthias Grimrath

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic