title: Angular.io interceptors vs service workers
body: <p>I want to better understand options to implement offline-friendly webapps and I read this article here: <a href="https://angular.io/guide/http" rel="noreferrer">https://angular.io/guide/http</a> which also talks about angular's interceptors.</p>
  
  <p>Now I am a bit puzzled:</p>
  
  <p>On one hand we have service workers (that are not yet fully supported by browsers) which would help implement offline first/friendly apps, on the other we have this powerful tool - interceptors - which can do a lot of things to help apps better handle poor or no connection environments.</p>
  
  <p>So is there a clear understanding of difference between these 2? when to use one and when to use another?</p>