Patrick wrote:
> Hello,
> 
> I am creating an application that times how long it takes to open
> certain web pages. However, the device is using cached versions of
> pages to determine these times, which is not what I want. Is there a
> way to:
> 
> 1) Clear the cache via API
> OR 2) Disable the cache, either through the UI or API?
> 
> Help is very much appreciated,

Are you sure your server is serving the content with the appropriate 
Last-Modified, ETag, and Cache-Control headers? The browser is WebKit, 
so I'm pretty sure it's going to honor these sorts of things.

If you're testing using the actual device and using the data network, it 
is possible there is a transparent proxy somewhere in the midst of 
T-Mobile that is screwing those things up. Try it using WiFi, or use the 
emulator, and see if the problem persists.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.9 Published!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to