Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(service-worker): detect new version even if files are identical to an old one #26006

Closed

Commits on Mar 5, 2019

  1. fix(service-worker): detect new version even if files are identical t…

    …o an old one
    
    Previously, if an app version contained the same files as an older
    version (e.g. making a change, then rolling it back), the SW would not
    detect it as the latest version (and update clients).
    
    This commit fixes it by adding a `timestamp` field in `ngsw.json`, which
    makes each build unique (with sufficiently high probability).
    
    Fixes angular#24338
    gkalpak committed Mar 5, 2019
    Copy the full SHA
    53b1f84 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    b158057 View commit details
    Browse the repository at this point in the history