Tutorial: system.clearCache

system.clearCache

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

Example

fin.desktop.System.clearCache({
    cache: true,
    cookies: true,
    localStorage: true,
    appcache: true,
    userData: true
});

Options

  • cache: browsing data cache for html files and images (caching)
  • cookies: browser cookies
  • localStorage: browser data that can be used across sessions (local storage)
  • appcache: html5 application cache
  • userData: cache that stores the window positions for OpenFin applications