Temporary cache is working: if I add twice the same image (the server does not save it twice and return the same url as before), the image loads almost instantly.
But as soon as I close the activity, I re-open it and I load back the html from my database (with setHtml()), the image downloads again.
Am I doing something wrong, or is persistent cache not working?
Hello,
I implemented a image-upload feature invoked from an option menu item (while I'm waiting for your answer at #5 )
However, the image (5 Mo) loads very slowly, band by band. The editor downloads it every time I load the Html (as I can see in the app's data usage)
I enabled cache:
Temporary cache is working: if I add twice the same image (the server does not save it twice and return the same url as before), the image loads almost instantly. But as soon as I close the activity, I re-open it and I load back the html from my database (with setHtml()), the image downloads again. Am I doing something wrong, or is persistent cache not working?