Results 1 to 5 of 5
  1.    #1  
    Hey guys,

    I'm working on a Mobile Web solution for my company and have bumped into a problem. I am having a hard time getting a page I return to (with changes) to update properly. I suspect the browser is caching the page and when I return to it just assuming it is unchanged.

    I have tried the following meta tags without luck:
    <meta http-equiv="Expires" content="0"/>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Cache-Control" content="no-cache"/>

    Does anyone know how I could prevent webOS from caching a single page/pages?
  2. #2  
    Change your server settings. Meta tags are mostly useless, as a general rule don't trust them to be supported by anything other than the latest versions of the major browsers. If you're using apache you should be able to use an htaccess file to only adjust the cache/expiration settings for the files/directories you're working on. - Slalom - twitter - facebook
    A posted thanks dies with the thread. Clicking the button lasts until the admins get bored with this site and throw it in the recycling bin.
  3.    #3  
    Thanks for your suggestion but it's a no go.

    This appears to be Client-Side Caching.
  4. #4  
    if you"re using a webview, you may clear cache like this :

    var mywebview = this.controller.get('web-view');
  5.    #5  
    Thanks for the suggestion, but this isn't a native app, this is a simple webpage designed mobile devices.

    I've found forcing a refresh works somewhat, besides causing obvious usability annoyances, but sometimes even fails to properly update the page even then.

Tags for this Thread

Posting Permissions