Sure,

Try using this:

Cache-control: no-cache,max-age=0,must-revalidate

If this still doesn't work, you can use a trick that's at least 10 years old: a dummy parameter with a random value in the URL.

So you'd have:

http://blahblah.com/myimage.png?dummyvalue=X

Where "X" is a random number added by the client code.

This has the drawback that all images that differ only by the dummy value might be stored in the cache, increasing its size.

-- Kostya

03.09.2010 16:45, arnouf пишет:
Hi all,

I work on an application to display a remote page in a webview.
The page contains a simple input form and an image. The image is
updated automatically by server using specific header. The page is
never displayed.

Searching on the web to find a way to resolve this issue, I read
this :

http://remotedroid.net/blog/2009/11/13/android-browser-caching/
"Pragma: no-cache, and all the other server-side headers also have no
effect as far as I can tell."

Do you have a work around ?



--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to