AngularTS
    Preparing search index...

    Interface ServiceWorkerConfig

    Declarative defaults used when registering an application service worker.

    This config intentionally maps only browser registration options and safe observation policy. Activation, reload, cache strategy, push, and background sync remain explicit application or adapter policy.

    interface ServiceWorkerConfig {
        autoRegister?: boolean;
        checkForUpdatesOnRegister?: boolean;
        scope?: string;
        type?: WorkerType;
        updateViaCache?: ServiceWorkerUpdateViaCache;
    }

    Hierarchy

    • RegistrationOptions
      • ServiceWorkerConfig
    Index

    Properties

    autoRegister?: boolean

    Register automatically when the runtime service is created.

    checkForUpdatesOnRegister?: boolean

    Check for an updated worker after registration succeeds.

    scope?: string
    type?: WorkerType
    updateViaCache?: ServiceWorkerUpdateViaCache