Hi,
I don't want to cache concrete image on website page (using many qwebview for 
one site). For this I overload QNetworkAccessManager's method createRequest(), 
make condition for my image (if (myReq.url() == myUrl) then not apply 
cache), and try in this condition:
1) myReq.setRawHeader( new QByteArray("Cache-Control"), new 
QByteArray("no-cache") ); //not work, 
2) myReq.setRawHeader( new QByteArray("If-Modified-Since""), new 
QByteArray(myTime) ); //not work
3) myReq.setUrl(new QUrl(url2 + "&x=" + rand.nextInt(1000000))); //not work 
too, url becomes really other, but however 
image in cache.

How I must abolish cash for document (in my case - image)? Thanks.
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to