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.

    Keywords

    none

    Install

    npm i cordova-plugin-cacheinfo

    DownloadsWeekly Downloads

    4

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar