Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/angular/angular.git. Pull mirroring updated .
  1. Oct 28, 2021
  2. Oct 27, 2021
  3. Oct 26, 2021
  4. Oct 22, 2021
  5. Oct 21, 2021
    • George Kalpakas's avatar
      refactor(service-worker): avoid unnecessary writes to cache when version fails (#43680) · e09556fe
      George Kalpakas authored
      When an app version is detected as broken, the SW calls the
      `Driver#versionFailed()` method. Previously, this method would in turn
      call the `Driver#sync()` method, which writes some metadata about the
      SW's state to the `ngsw:/:db:contol` cache. More specifically,
      `Driver#sync()` persists info about all known app versions, which one is
      the latest and also what version each client is assigned to.
      
      However, no relevant info is changed inside `Driver#versionFailed()`, so
      the call to `Driver#sync()` is redundant (since there are no changes
      that need to be synced with the cache). This is a left-over from
      before #43518, when `Driver#versionFailed()` used to update version
      assignments and thus did require synchronization with the cache.
      
      This commit removes the redundant `Driver#sync()` call to avoid an
      unnecessary write to the cache.
      
      PR Close #43680
      e09556fe
    • Andrew Kushnir's avatar
      12.2.11
      d10f143b
  6. Oct 19, 2021
  7. Oct 16, 2021
  8. Oct 15, 2021
  9. Oct 14, 2021