alberttwong / MMM-iFrame

iframe module for Magic Mirror. Supports camera, twitch, youtube streaming and more!
57 stars 32 forks source link

Clean iFrame cache... #14

Closed theramez closed 5 years ago

theramez commented 6 years ago

greetings.. If the iFrame assigned to a web page, How can I clean it's cache? removing electron cache didn't help.

thanks in advance...

alberttwong commented 6 years ago

Since the iframe is just a browser, you should be able to do browser things. You can try deleting the browser cache directory or load the normal browser and use the menus to clear cache.

theramez commented 5 years ago

Since the iframe is just a browser, you should be able to do browser things. You can try deleting the browser cache directory or load the normal browser and use the menus to clear cache.

sorry I tried that but still that module cache (if assigned to view web page that stores cache) totally different than the default pi browser cache whether it's a chromium,kweb...etc? I belive that iFrame stores some data in electron cache or something similar.

alberttwong commented 5 years ago

The only other way is maybe to build a cache clear button via javascript.

theramez commented 5 years ago

The only other way is maybe to build a cache clear button via javascript.

thanks, I'm not a programmer so can't do that.....anyway thanks for help 👍