I am developing chrome app using webview(https://developer.chrome.com/apps/tags/webview) in chrome app with the following scenarios.
- show page content using offline cache file.
- app should not read cache file when app is in online.
- show custom reset method to clear the cache.
I did 1st scenario, but I unable to reset the cache file when user is in online and also unable reset cache using custom method.
I used the following documention https://developer.chrome.com/extensions/browsingData#method-removeCache
Please help me to fix the cache issues.
Thanks