Welcome to Dovetail Software Blogs : Sign in | Join | Help
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:

Adding a cache control header to IIS6

Posted: Thursday, October 23, 2008 1:54 PM by kmiller
Filed under: ,

Comments

kmiller said:

Or ever better add this line to your site's Master page so you need no configuration.

<%Response.Cache.SetCacheability(HttpCacheability.NoCache);%>

# October 23, 2008 2:48 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  

Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS