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


MITSUBISHI FR-A820 1.5K TFA INVERTER A500 240 V #L-220 picture

MITSUBISHI FR-A820 1.5K TFA INVERTER A500 240 V #L-220

$684.00



1PC USED A54MA30B Mitsubishi F500/A500/A540 Series 30-37KW Mainboard #CZ picture

1PC USED A54MA30B Mitsubishi F500/A500/A540 Series 30-37KW Mainboard #CZ

$228.00



Mitsubishi FR-A540-0.75K-NA AC DRIVE INVERTER 1 HP 380-480 VAC 50/60 HZ 4.1 AMP  picture

Mitsubishi FR-A540-0.75K-NA AC DRIVE INVERTER 1 HP 380-480 VAC 50/60 HZ 4.1 AMP

$649.99



Padded Headset for Vocollect T2, T2X, T5, SR20T, A500 w/ Adjustable Mic picture

Padded Headset for Vocollect T2, T2X, T5, SR20T, A500 w/ Adjustable Mic

$133.88



1PC USED A54MA55B BC186A413G52 Mitsubishi A500/F540 Series 55KW Drive Board #CZ picture

1PC USED A54MA55B BC186A413G52 Mitsubishi A500/F540 Series 55KW Drive Board #CZ

$317.00



1Pcs USED A500 7.5KW 380V FR-A540-7.5K-CH frequency converter picture

1Pcs USED A500 7.5KW 380V FR-A540-7.5K-CH frequency converter

$401.02







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