diff options
Diffstat (limited to 'dist/workbox-v3.2.0/workbox-cacheable-response.prod.js')
| -rw-r--r-- | dist/workbox-v3.2.0/workbox-cacheable-response.prod.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dist/workbox-v3.2.0/workbox-cacheable-response.prod.js b/dist/workbox-v3.2.0/workbox-cacheable-response.prod.js new file mode 100644 index 0000000..4f7d5bc --- /dev/null +++ b/dist/workbox-v3.2.0/workbox-cacheable-response.prod.js @@ -0,0 +1,3 @@ +this.workbox=this.workbox||{},this.workbox.cacheableResponse=function(t){"use strict";try{self.workbox.v["workbox:cacheable-response:3.2.0"]=1}catch(t){}class s{constructor(t={}){this.t=t.statuses,this.s=t.headers}isResponseCacheable(t){let s=!0;return this.t&&(s=this.t.includes(t.status)),this.s&&s&&(s=Object.keys(this.s).some(s=>t.headers.get(s)===this.s[s])),s}}return t.CacheableResponse=s,t.Plugin=class{constructor(t){this.e=new s(t)}cacheWillUpdate({response:t}){return this.e.isResponseCacheable(t)?t:null}},t}({}); + +//# sourceMappingURL=workbox-cacheable-response.prod.js.map |
