Application Cache Update Process State Diagram

Here's a quick little follow-up to my last post about the Application Cache. How the browser checks and fetches the cache can be a little confusing at first, so I made a state diagram to keep track of the different states the Application Cache might be in and the events that change said state.

Application Cache State Diagram

Well, it's not awfully complicated, but it's nice to have a visual aid when debugging. The guard conditions indicate whether there already exists an old version of the application cache or not.

Frederik Nakstad

Read more posts by this author.

Tokyo, Japan