This library takes a Response object and determines whether it's cacheable based on a specific configuration.
npm install workbox-cacheable-responseThis module's documentation can be found at https://developers.google.com/web/tools/workbox/modules/workbox-cacheable-response