BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-24-2008, 10:55 AM   #1
Onosa
New Member
 
Join Date: Jun 2008
Model: 8800
Carrier: n/a
Posts: 14
Question .JAD issue, browser cache problem. Help

Please Login to Remove!

Hello,

Currently, the users for my application manually download the application using the BlackBerry broswer. The problem is, when a new version of the program is ready, the BlackBerry browser will see the old .jad file instead of the new one that's out there. I'm assuming this is a cache problem, because if a user refreashes the page, they will see the new version with all of it's data (New version number and file size).

Since most users wouldn't think to refresh the page, I need a feature that will always show the current .jad file, which means skipping whatever is in the BlackBerry broswers cache.

Is there a way to do this?

Thank you.
Offline  
Old 09-25-2008, 08:42 AM   #2
hrbuckley
BlackBerry Extraordinaire
 
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Default

Check the documentation of your Web Server software to see what kind of cache control it provides for files. HTTP caching is controlled by a header sent along with the page (or file) that tells caching proxies and requesting clients how long the file is valid. Browsers will not re-request a file that the server has indicated is still valid unless the user refreshes the page. You may be able to turn caching in the Blackberry off, or reduce it, but you users are not likely to be happy with the results.
Offline  
Old 09-30-2008, 03:14 AM   #3
myraddin
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
Default

I unfortunately had similar OTA deployment problems with the browser.
It seems that the browser doesn't check (send HEAD request to the http server) the file on the server, but instead just retrieves what it has in the cache.

My problem was solved by manually clearing the cache before every update of the same application.

I am sorry for not having any other idea, just wanted to share the experience I had.
Offline  
Old 09-30-2008, 12:59 PM   #4
Onosa
New Member
 
Join Date: Jun 2008
Model: 8800
Carrier: n/a
Posts: 14
Default

My users probably wouldn't like to remove the cache before every update. I tried setting the the http header information to no cache, and that seems to work. Thank you for everyones help.
Offline  
Old 10-01-2008, 01:22 AM   #5
myraddin
Knows Where the Search Button Is
 
Join Date: Sep 2008
Model: 8900
OS: 4.3-4.6.1
Carrier: t-mobile
Posts: 39
Default

Quote:
Originally Posted by Onosa View Post
My users probably wouldn't like to remove the cache before every update. I tried setting the the http header information to no cache, and that seems to work. Thank you for everyones help.
Good trick.
So the Browser obeys that rule ...
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


National Instruments Mainframe Chassis - NI-PXIe-1071 w/Warranty picture

National Instruments Mainframe Chassis - NI-PXIe-1071 w/Warranty

$690.00



1 Pcs National Instruments NI PXIe-1071 NI-SD200 Mainframe PXIE-1071 Chassis picture

1 Pcs National Instruments NI PXIe-1071 NI-SD200 Mainframe PXIE-1071 Chassis

$395.00



Agilent E1301B Mainframe  9-slots with multimeter, totalizer, and relay muxes picture

Agilent E1301B Mainframe 9-slots with multimeter, totalizer, and relay muxes

$200.00



Tektronix TM503 3 Bay Mainframe With FG 503, DM 502, PS 503 A Modules 120V AC picture

Tektronix TM503 3 Bay Mainframe With FG 503, DM 502, PS 503 A Modules 120V AC

$169.64



NEWPORT 8800 PHOTONICS TEST SYSTEM MAINFRAME picture

NEWPORT 8800 PHOTONICS TEST SYSTEM MAINFRAME

$499.99



HP - Agilent - Keysight 75000 SERIES C MODEL E8404A High Power VXI Mainframe picture

HP - Agilent - Keysight 75000 SERIES C MODEL E8404A High Power VXI Mainframe

$699.99







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.