• English
  • Interface: DefaultRegisterSwScriptFeatures

    Properties

    autoReloadPage?

    optional autoReloadPage: boolean

    reloads the page when the new SW starts controlling the page. this is enabled by default if autoSkipWaiting is true


    autoSkipWaiting?

    optional autoSkipWaiting: boolean

    sends "SKIP_WAITING" message to the new SW when it enters "waiting" state. useless if your SW is unconditionally calling self.skipWaiting() (for example if you pass {skipWaiting: true} to workbox options in generateSw mode);