Blackberry’s Web Browser Caching Stinks
Ran into an issue taking Dovetail Mobile Agent for a test spin on a Sam’s Blackberry Pearl. We noticed pretty quick that web pages were not getting refreshed. It was really obvious when I logged in to my account using Sam’s phone and saw his cases rather than mine.
It turns out that the web browser on this particular Blackberry does not check with the web server to see if a particular web page has been updated. We found a pretty easy fix. Just add a Cache-Control HTTP header to every web page sent by the web application. Every page?! Isn’t that hard? Nope.
Here is how to solve the problem on IIS6: