I try to make a angular 8 PWA app. So far so good, The cache is working in offline mode both for static resources and APIs.
But I'd like to inform the user about the offline state and let them know that the information displayed (API) is not necessarily up to date.
I tried to find a guide or doc about querying the service worker from angular, but found nothing. What is the best way - if any - to know if the service worker uses cache?
Thx.