DEV Community

Discussion on: Cache Busting a React App

Collapse
 
tvanantwerp profile image
Tom VanAntwerp

How does this compare to using service workers for offline caching?

Collapse
 
flexdinesh profile image
Dinesh Pandiyan

Leveraging Service workers for controlling your cache should be the de-facto first approach. Service workers are pretty great and hashing every new build is a life saver. But there are situations where we will need custom cache control within the code. This approach will help in such situations.

More info in this comment — dev.to/flexdinesh/comment/a79c