5 Replies Latest reply on Sep 14, 2009 10:16 AM by Jeff Swartz

    Adobe AIR - How to prevent caching?

    UriTz Level 1

      Hello,

       

      We use Adobe AIR as a one-site-browser for our users.

      which means that all of the content and data reside in our server and all they have, installed on their PC, is an iframe.

       

      From time to time we encounter issues with users who can't get our application working, or get an older version of our pages.

      What we saw after investigation is that the pages are being cached and stored in the Temporary Internet Files folder (where IE keeps its cache).

      When the user try to clear the Browsing History from inside IE it does not clear our pages from the cache, only manual delete works.

      We tried to add the following meta to our pages with no success:

      <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
      <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

       

      The manual deletion is not a solution, is there a way to make Adobe AIR not to save our pages (.html and .js files) in the cache?

       

      Please Advice,

      Uri