Answer by Nicolas Guérinet for Node Webkit clear cache
It is now 2019 and clearCache() does function by adding the following:var gui = require('nw.gui'); gui.App.clearCache();or nw.App.clearCache();This will clear the HTTP cache in memory and the one on...
View ArticleAnswer by Josh Lankford for Node Webkit clear cache
Ran into the same issue so I created a quick solution to solve the problem temporarily until I can rely on the native gui.App.clearCache function. This removes the entire Cache directory and recreates...
View ArticleAnswer by asbjornenge for Node Webkit clear cache
The require cache is apparently only available on global.require.cache.Clearing that cache manually made it work for me.for(module in global.require.cache){...
View ArticleNode Webkit clear cache
I recently discovered that c:/Users/username/AppData/Local/AppName/Cache contained over 100K cache files. I read up a bit and saw that the gui.App.clearCache() method should fix this. I execute this...
View Article