Read the statement by Michael Teeuw here.
How to clear cache?
-
I’m making a module which operates several images. After finishing development on my Mac then testing on RPi, I found something.
I’ve found cached images are consuming too much RAM of RPI.
Just showing dozens of x00kb images takes memory consumption around 20%. I always remove HTML node for images after showing that. but memory is not returned. I guess it might be caused by cached data. Because, when I reload images previously already loaded and removed once, the memory doesn’t go down. Loading new images makes RAM goes down even after removed. So I doubt the cache issue.So I want to clear cache of Electron after my process is processed. How can I do that?
I think there might be something like
session.clearCache()… -
Nevermind.
Electronseems to be able to control its cache automatically.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login