Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

245
Views
Cache Service worker for localhost can't be remove and unregistered

enter image description here

Tried to uninstall chrome, uninstall node and so on. But I still get cached and it can't be removed, when I run other projects with the same port without any service worker, I also get cache by this service worker.

Also tried to remove all register service worker, local application and unregister button in application. But I still get this cache

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

To overcome this caching usually while making a progressive web app, I always turn on disable cache from the network tab. It will prevent the loading of the app from cache memory: enter image description here

Please do this and make a hard reload on your app. A hard refresh clears your browser cache for a specific page, which forces it to load the most recent version of that page. To make a hard reload press Ctrl + Shift + r

about 4 years ago · Juan Pablo Isaza Report

0

Try to unregister a ServiceWorker

navigator.serviceWorker.getRegistrations().then(registrations => {
  registrations.forEach(registration => {
    registration.unregister();
  });
});
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!