KHtmlPart caching images, how to disable?

Unai Garro Unai.Garro at ee.ed.ac.uk
Wed Jul 23 00:20:48 BST 2003


Hi, I hope someone can help me with this thing. The idea is very simple: 

I use KHTMLPart to display (repeatedly) some data like this:


===================
dataView=new KHTMLPart(this);

dataView->begin(KURL("file:/tmp/" )); // The photo is stored in /tmp

dataView->write(webpage);

recipeView->end();
==================

Webpage contains a reference to an image in /tmp.

the image seems to be cached and stored the first time and I cannot seem to be 
able to force it to reload every time. 

Is there an easy method to do it, or do I need to destroy the KPart every 
time?
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<




More information about the kfm-devel mailing list