Skip to content

HTML5 offline storage mechanism #6

Open

Description

@cheatsheet1999

Users are online

When the browser finds manifest attribute on HTML head, it will request the manifest file.

  • If this is the first time visiting,

    • Then the browser will download the corresponding resources and store data based on the manifest file.
  • If not the first time visiting,

    • Then the browser will use the offline resource to load the page, then compares the old manifest file with the new manifest file, and update the manifest file if needed

Users are offline

  • The offline storage of HTML5 is based on a .appcache file. It works somehow like Cookie, which means web data will be downloaded and show the web data when users are offline

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions