hi all. is there a way using the exposed DSL to cache results from a select transaction
11/22/2019, 9:41 PM
To cache what and where?
11/22/2019, 9:47 PM
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
11/23/2019, 8:58 AM
That case is out of scope for Exposed library and there are a lot of caching frameworks for any case.