如何清除电子(原子壳)中的缓存数据? [英] How to clear the cache data in Electron(atom shell)?

查看:13
本文介绍了如何清除电子(原子壳)中的缓存数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想清除 Electron(atom-shell) 中的缓存数据.我不找到任何像 gui.App.clearCache()(node-webkit api 来清除缓存的 api数据)在电子.如果您找到任何 api 或任何其他方式,请告诉我知道.评论表示赞赏.

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 any api or any other way please let me know. comments are appreciated .

推荐答案

Electron 将它的缓存存储在这些文件夹中:

The Electron stores it's cache in these folders:

窗户:
C:Users<user>AppDataRoaming<yourAppName>Cache

Linux:
/home/<user>/.config/<yourAppName>/Cache

操作系统:
/Users/<user>/Library/Application Support/<yourAppName>/Cache

因此,删除这些文件夹也可以帮助您.当然,这是一次性解决方案;-)

So deleting these folders can also help you. Of course this is one time solution ;-)

这篇关于如何清除电子(原子壳)中的缓存数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆