I have a web application running in a kiosk, which is set with gyasinby so that we can Customizing many things and ensuring that the customizations are only on kiosks I'm digging through the GM API, hopefully there will be some functionality to affect the browser settings, but alas Looks like it affects only pages that run in the browser. Is there a way that the browser should ask the browser to clear this cache when there is a certain event in the application?
Ordinary JavaScript is not allowed to do this, it will apparently have a security hole.
GM javascript does not have sufficient privileges. The Firefox extension works with high privileges, which is why the add-on can clear the cache.
Some options:
-
If you start with your own Firefox extension, that's probably some kind of incidents and / Or clear the cache on the timer.
-
Javascript can reload the page, and specify that the cache can not be used:
window.location.reload (true)
. -
You can set up a cron job or Windows scheduled tasks , to kill the Firefox task, run something similar once per day, Then restart Firefox
This is probably a good idea, like Firefox gets dip and hog memory, if the left has to walk too much like this, you can restart the entire computer and on each restart Can consider cleaning.
No comments:
Post a Comment