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
when you are developing, in developer tools go to the tab application and in clear storage and clear site data
You can use session.clearCache api.
var remote = require('remote'); var win = remote.getCurrentWindow(); win.webContents.session.clearCache(function(){ //some callback. });