delete method
The delete()
method of the CacheStorage interface finds the
Cache object matching the cacheName
, and if found, deletes the Cache
object and returns a Promise
that resolves to true
.
If no Cache object is found, it resolves to false
.
You can access CacheStorage
through the Window.caches property in
windows or through the WorkerGlobalScope.caches property in workers.
Implementation
external JSPromise<JSBoolean> delete(String cacheName);