angular/packages/service-worker/worker/src
Henry Zhang 8ddce80a0b feat(service-worker): allow specifying maxAge for entire application (#49601)
This commit adds an `applicationMaxAge` to the service worker configuration. When set, it will only assign a cached version to clients within the `maxAge`. Afterwards, it will ignored any expired application versions and fetch exclusively from the network. The default is `undefined`, for which the behaviour is the same as it currently is.

PR Close #49601
2024-10-22 07:45:21 -07:00
..
adapter.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
api.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
app-version.ts refactor(service-worker): remove backward compatibility code (#51246) 2024-10-09 16:24:36 +00:00
assets.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
data.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
database.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
db-cache.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
debug.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
driver.ts feat(service-worker): allow specifying maxAge for entire application (#49601) 2024-10-22 07:45:21 -07:00
error.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
idle.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
manifest.ts feat(service-worker): allow specifying maxAge for entire application (#49601) 2024-10-22 07:45:21 -07:00
msg.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
named-cache-storage.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
service-worker.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
sha1.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00