I want to clear cache data in Electron(atom-shell). I don\'t
find any api like gui.App.clearCache()(node-webkit api to clear cache
data) in Electron. If you find an
you could try mainWindow.webContents.clearHistory();
or deleting contents in the app Cache folders (will be recreated on app run).
You can get the path with app.getPath('userData') + '/Cache'