cordova-plugin-cacheinfo

1.0.0 • Public • Published

cordova-plugin-cacheinfo

Webview cache informations

iOS only at the moment.

Installation

Install the plugin :

cordova plugin add --save cordova-plugin-cacheinfo

Usage

cordova.plugins.CacheInfo.getInfos(function(results) {
    console.log(results);
});

returns

{
  "MemoryCache": 849913,
  "MemoryCapacity": 134217728,
  "DiskCache": 312648,
  "DiskCapacity": 536870912
}

reset Safari cache : cordova.plugins.CacheInfo.clear()

Licence MIT

Code distributed under MIT licence. Contributions welcome.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    1

Package Sidebar

Install

npm i cordova-plugin-cacheinfo

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • revolunet