If your web application should run on embedded or low-level devices, is there a means in JavaScript to manage low memory conditions at runtime so that you can use as much memory as possible to cache data, but be able to reliably clear such caches if necessary?
An example would be an application in which there is a local storage of logical data, for example, a map of the map of the data object that it uses, and not repeat new requests on the server. I would like to be able to populate this cache with a watermark, which can be determined at runtime in my JavaScript application.
I have not found anything so far, but I hope that I just missed something.
Kevin source share