DEV Community

Discussion on: Service Worker Caching and HTTP Caching

Collapse
 
jackyrio profile image
JackyRio

Thanks author for the sharing.

How can we use the service worker to implement a strategy that only use cache if resource from the server is not changed? For example, we are calling a GET request to fetch resource, instead of calling it every time, we prefer to be able to use the cache if there's way to know that the resource is not changed.