Company
Date Published
March 15, 2018
Author
Praveen Durairaju
Word count
1250
Language
English
Hacker News points
None

Summary

This post discusses strategies for service worker caching in Progressive Web Apps (PWAs). It highlights issues such as broken deployments and unexpected behavior caused by create-react-app's default service worker inclusion. The article provides solutions like setting appropriate cache headers, not caching bad responses, using clear-site-data kill switch, and unregistering service workers. It also emphasizes the importance of smart caching and pre-deployment strategies to avoid potential issues.