Android browser caching

I just wanted to get this out there, Android’s browser caches like a madman. It completely ignores POST variables. This is particularly relevant when doing AJAX calls. You can’t simply add a timestamp to POST and expect the Android browser to give you new page data. You have to append to timestamp to the GET query string.

Pragma: no-cache, and all the other server-side headers also have no effect as far as I can tell.

It makes sense though. Since the browser’s on a mobile network, and since they want to minimize network traffic as much as possible, caching is going to be extremely aggressive.

1 Comment »

  1. Justin Marden Said,

    December 2, 2009 @ 5:59 pm

    hi.. lol i am using remotedroid to ask this question.. actually, its not a question, but rather, a suggestion.. i think you should add scroll support for devices like the cliq or droid.. i know you have trackball support for g1 and mytouch, but the cliq (and droid) dont have a trackball… that means i have to open the keyboard and use the dpad to navigate.. i dont like that.. lol perhaps a scroll bar on the righthand side of the screen? also, some alt symbol support would be nice.. i can type the default letters on my cliq keyboard, but i have to use my laptop keyboard to type question marks, etc.. thanks

Leave a Comment