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

172
Views
How to handle inconsistent service worker version during rollout?

If a user visit the website on the first time, the browser would download index.html first, and then register the service worker.

But what if we roll out a new version right after the user gets the index.html, but before fetching the server-worker.js? The user would get a server-worker.js whose version doesn't match the index.html.

The only solution I can think of is that stop claiming clients automatically if we find the versions mismatch. Is there any better solution to handle this situation?

about 4 years ago · Juan Pablo Isaza
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!