i am using angular to create a SPA after every deploy i have to hard refresh the page to get the latest content I want to show a popup to user that new version is available you can refresh the browser I try to use service worker but stuck when user hard refresh the browser in this case I can't access my service worker functions like checkforUpdate() and versionUpdates() after hard refresh swUpdate.Enables gives me true but not able to access the functions how can I achieve this Continue reading...