Improve caches
phronmophobic opened this issue · 0 comments
phronmophobic commented
There are various caches (eg. membrane.ui/bounds
, defui components, image cache, font cache, etc.). There are number of ways to improve caches:
- allow users to specify cache behavior
- provide better defaults with weak references, memory caps, etc
There are already great caching libraries clj/jvm (ie. clojure.cache, clojure.memoize, https://github.com/ben-manes/caffeine/), but the js side is more of an open question.