hard20 pts · first answer countsservice-workerscaching
Old version after deploy with a service worker
Your service worker serves index.html with a stale-while-revalidate strategy. After a deploy, users see the old app on the first reload and the new one on the second. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Redis TTL after SET with EXBackend Developer
- Cache-aside patternBackend Developer
- Response to a matching If-None-MatchBackend Developer
- Keeping a cached price freshBackend Developer
- CDN serves one user's profile to anotherBackend Developer
- Cache stampede on a hot keyBackend Developer
- Adding a fifth cache nodeBackend Developer
- Stale value returns after cache deleteBackend Developer