BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   Caching issue for webKit based Browser with OS6.0 (http://www.blackberryforums.com/developer-forum/245657-caching-issue-webkit-based-browser-os6-0-a.html)

SaurabhAgrawal 03-02-2011 03:17 PM

Caching issue for webKit based Browser with OS6.0
 
In WebKit Based Browser (for OS 6.0) There is an issue of caching the "Pushed Content Cache" file (specially Javascript file ) within the Browser Cache (Cache at the browser level) .
We have a web application which is Pushed (html pages and JS / CSS files) to Blackberry "Pushed Content Cache" using MDS in order to have the application available offline.
The application has a functionality which uses a particular Javascript file (also pushed to the device - as the Javascript content in the file is dynamic).

On BB OS<= 5.0 the above mentioned scenario works well, and everytime application is launched it picks up the recent pushed Javascript File . However with Webkit based browser in OS >=6.0 the browser caches the Javascript file at the first time access and even if a new JS file has been pushed to "Pushed Content Cache", browser continues to access the file it cached at the Browser Cache Level.

Solution I am looking for : How to avoid the JS file caching at the Browser Cache Level and always force Browser to refer file from Pushed Content Cache (as in the case of Browser for OS 5.0 or lower).


All times are GMT -5. The time now is 09:03 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.