Disable cache


#1

Hi all, i have a simple application where users can manage images and photos.
Main feature is that user can upload and then modify images, the problem is that the image don’t change becouse is cached.

I tried to add the switch “disable-http-cache” (https://github.com/atom/electron/blob/master/docs/api/chrome-command-line-switches.md) but the cache still was active.
I have tested with atom/electron 0.34.2 and 0.35.1 with no lucky, it’s a bug?

I know i can add a random parameters to image src, but i would avoid this becouse there is the risk that a very large number of “copies” of the image will be stored in user local folder.

There are a way to disable cache?

Thanks