Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5976615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:15:14+00:00 2026-05-22T21:15:14+00:00

I am using MVC together with JS to create an IPad app. One of

  • 0

I am using MVC together with JS to create an IPad app. One of the key requirments is for the app to work in offline mode. Thus I am using a manifest file to determine the cached script files. However, I would like to have all scripts be refreshed when the browser is again online. I have specified this by:

Network:
*

in the manifest file underneath my scripts. This does not work though because some of the files are not updated when the browser is refreshed online. Furthermore, if I check the developer tools in chrome, the console shows the following events:

Application Cache Checking event
Application Cache NoUpdate event

Which I guess means that the browser tried to update the cache but no update was found.

Any ideas?

See below my full manifest file:

CACHE MANIFEST
#rev20


# Explicitly cached entries
  ../css/sencha-touch.css
  ../Site.css
  ../css/mycss.css
  ../css/application.css
  ../../Scripts/SenchaTouch/sencha-touch-debug-w-comments.js
  ../../Scripts/js/Base/Index.js
  ../Images/Icons/green_indicator.png
  ../Images/Icons/red_indicator.png
  ../Images/toolbar_image.png
  ../Images/search_icon.png
  ../Images/loading.gif

NETWORK: 
*

EDIT:

My initial idea was that the files will be automatically updated once they are changed. However, because the browser relies on the manifest file to notify it for the changes (I think), the #rev number needs to be incremented when there is a change. Even then, when I tested I needed t refresh the page a couple of times to get it to reload the files. I suspect that has something to do order in which the browser loads and handles the resource but I could not find any info on that.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T21:15:15+00:00Added an answer on May 22, 2026 at 9:15 pm

    The browser will only update the cache when it detects that there is a change to the cache manifest. Incrementing your revision number is great way to force that change.

    After the browser detects a change, then it downloads the files and prepares the new version of the cache. The browser won’t use the new cache until it is completely full and you refresh the page.

    You can detect when the new cache is ready and refresh the page to start using it immediately using this javascript:

    function updateCache(){
        window.applicationCache.swapCache();
        window.location.reload();
    }
    
    window.applicationCache.addEventListener("updateready", updateCache, false);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using MVC 1.0 and have created a RequireSSLAttribute (like the one in ASP.NET
hi i have put this together this morning for a friend using MVC he
Are there any open source projects using both asp.net mvc and silverlight together?
I need some RadioButtons that grouped together in one of view page at mvc
I'm using NPOI to output excel from Asp.Net MVC app and works very well
I am using PHP. I want to create an MVC setup from scratch to
Slowly putting an MVC app together with class libraries: MVC > Services > IRepository
I want to create my very first web app using HTML, MySQL, PHP and
I just threw together a quick Spring MVC app as a demo to replace
Using MVC with an observer pattern, if a user action requires polling a device

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.