Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

188
Vistas
Does IndexedDB persist with a new service-worker?

Does the indexedDB persist when I unregister a service worker and install a new one?

If I would manually unregister the service-worker like this

        navigator.serviceWorker
          .getRegistrations()
          .then(function (registrations) {
            for (let registration of registrations) {
              registration.unregister();
            }
          });
        window.location.reload();
      

what happens with the indexedDB that is created in my service worker? Is it dependent on the specific sw it was created in?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Unregistering a service worker does not affect site storage, and that includes IndexedDB and the Cache Storage API. All previously saved data will persist independent of a service worker registration.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda