Tutorial: System.clearCache

System.clearCache

Clears cached data containing application resource files (images, HTML, JavaScript files), cookies, and items stored in the Local Storage

Example

const clearCacheOptions = {
    appcache: true,
    cache: true,
    cookies: true,
    localStorage: true
};
fin.System.clearCache(clearCacheOptions).then(() => console.log('Cache cleared')).catch(err => console.log(err));

Options