Angular 5 Service worker not working / Doesn't cache background-image
问题 I'm having trouble getting my angular5 service worker to work. I have two main problems: The service worker doesn't cache assets images that are used as background-images After simulating a network disconnect the service worker initially pulls files from the cache (except the the aforementioned non cached files), but after a second refresh it runs into an error. Below is a more detailed report of my problem. You can follow along by cloning a repo I made to highlight this problem located here.