Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

143
Visualizações
How to clear a service worker cache for index.html page?

I just inherited a website where the whole site (including index.html) is cached by a service worker. I deleted the old website and migrated it to WordPress. The problem is that when users visit this website they still see the old site and I don't have a way to clear the cache.

I tried adding headers to Nginx Cache-Control "no-store, must-revalidate"; expires 0; but this had no effect since index.html page was not loaded from the server but directly from service worker cache.

It seems that there is no way for me to update this site at all. Old users are seeing the old version no matter what I do. Is there any way I can disable this service worker or force clear the cache at this point?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda