Katala , Haha you beat the high score, I only had 900,000 files at most! Glad I could be of use :P
— , I assume you went into the correct AppData folder, though I believe this file overload thing is only if you preview with Node-Webkit a lot. Perhaps you're using another browser :P The "Project Name" folder like in my first posts screenshot has the "Local Storage" folder, so if you didn't have this cache folder, you're Local Storage data in Node-Webkit wouldn't exist :P
Ashley I'll try to be as thorough as possible :)
It's when I'm previewing a single project multiple times, literally every time I hit the Preview button, it's creating files that won't get deleted. I'm currently looking into when it happens, and I've come to the conclusion that this all only happens when you're previewing a .caproj (NOT a .capx). I've explored my appdata folder, I can find only projects that are .caproj (I don't see any folders for the times I previewed bug tests and whatnot)
And GOOD NEWS! Projects exported in Node-Webkit don't even create a "Cache" folder at all it appears! (Other files appeared in the appdata/projectname folder, such as a file called "lockfile", but nothing about the dreaded cache folder)
Further investigation just to see how bad the damage is, is that upon previewing my game (which is a pretty busy game, but only "Approx.Download: 6.9mb, memory use: 14.2mb), the Cache folder will generate 2,063 files at startup, and will increase as other things load dynamically like sounds. It's got to 4,193 files from one single preview.
Now here's where I my research becomes useless- I close the Node-Webkit preview, and the files remain there, and upon previewing again, it will randomly either reset back to 2,063 files, or it will continue adding on and get up to 8,000 files (and further). I don't really know what else to analyse after this lol.
Hope this was of use!