[PWA] Service worker app cache duration

Have you had a look at Angular’s @angular/service-worker module?

See: