On Sun, 05 Jun 2005 22:41:20 +0200, Mireia Marcet wrote:

> I am a student from Spain. I am working on a project related to mobile 
> communications and we are interested in sending webpages to mobiles as a 
> one simple file. The mobile makes just one request and receives a kind 
> of multipart/related file which contains the html part, the images, etc...

I'm working on a similar project...  (mht/mhtml converter)

I also implemented a steam converter, fetch the whole MIME-document,
split it into html/images/pdf/etc... and store everything in the cache.
A special protocol/channel fetches from cache only, which seems to work
also, but the downside beeing that i have to rewrite the URI's in the main
document.

Caching itself seems to work fine with HTML but not with images.
I can see the images in about:cache as encoded data with the size of
the original image file.

But when an image is loaded from http:, 2 cache entries will be
created, one only in memory whose client is 'Client: image'. this is
obviously the decoded image?

Question: Additionally to my working caching of the image file,
how do i create such an image cache so that the image can actually be
displayed?

thanks,

 / karl

_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to