hi all. is there a way using the exposed DSL to ca...
# exposed
a
hi all. is there a way using the exposed DSL to cache results from a select transaction
t
To cache what and where?
a
Cache the results of the transaction (a list of ResultRow or if we map the results, the resulting map) and just cache them in local memory with an expiring cache timeout. right now we are just putting the results in an expiring map but wondering if exposed has a way of doing this without rolling our own expirable cache. an alternate would be to memoize the function wrapping the transaction
t
That case is out of scope for Exposed library and there are a lot of caching frameworks for any case.