From kde-devel Thu Sep 11 14:01:58 2003 From: Waldo Bastian Date: Thu, 11 Sep 2003 14:01:58 +0000 To: kde-devel Subject: Re: http cache files: appended hash? X-MARC-Message: https://marc.info/?l=kde-devel&m=106328978429791 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 11 September 2003 15:40, Bettler, Thomas wrote: > How are the appended hashs (to encode the url) calculated? > > eg. the file ~/.kde/share/cache/http/k/www_kde_org__0d73b38a > > - how do i calculate this hash? See the http.cc source, there are no guarantees that they will remain like that in future versions though. > - is there a way to implement an app to prefetch many pages to cache to > continue browsing offline. (similar to wget, but directly into the http > cache of konqueror)? Easiest would be to add a metadata flag to kio_http that says "fetch this page and store it in the cache even if the remote server says that we shouldn't cache it". cache="preload" maybe? Cheers, Waldo - -- bastian@kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE/YIBWN4pvrENfboIRAqfXAJ93XLN7JBlK58E/Hgp5FvRa9sfA3QCfXgXv DKLJH+ZmpWFJ9XZ2xixxrkk= =3Ltb -----END PGP SIGNATURE----- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<