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

List:       konq-bugs
Subject:    Bug#39711: kio-http ignores HTTP cache control commands
From:       Waldo Bastian <bastian () kde ! org>
Date:       2002-03-24 1:47:31
[Download RAW message or body]

On Saturday 23 March 2002 05:07 pm, Andrew Kohlsmith wrote:
> > Actual caching takes place in khtml. khtm should watch "no-cache"
> > meta-data directive and not cache/expire directly any images that have
> > this set.
>
> My apologies; should I resubmit this as a khtml bug?

No, no problem. I reassigned the bug already to the khtml package. My comments 
were only intended as diagnosis of the problem.

But in case you want to have a look at it yourself, the image cache is 
implemented in kdelibs/khtml/misc/loader.cpp. 

In Loader::slotFinished( KIO::Job* job ), job->queryMetaData("no-cache") 
should tell you when you may not cache and I think that in case you may not 
cache you should mark  r->object() as "uncachable" somehow (See also 
CachedObject::finish) and probably force a call to Cache::flush()

Cheers,
Waldo
-- 
bastian@kde.org  |   SuSE Labs KDE Developer  |  bastian@suse.com

_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
http://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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