@scolastico-dev/walu
    Preparing search index...

    Function registerCacheInterceptor

    • Registers a Service Worker that intercepts HTTP requests and serves cached files from IndexedDB. This function creates a Service Worker from the inline worker code, registers it with the browser, and returns the registration. If a Service Worker is already active, it returns the existing registration.

      Parameters

      Returns Promise<ServiceWorkerRegistration>

      Promise that resolves to the Service Worker registration

      If Service Workers are not supported, registration fails, or existing registration cannot be retrieved