Thread
#exposed
    a

    Andrew Kirkham

    2 years ago
    hi all. is there a way using the exposed DSL to cache results from a select transaction
    tapac

    tapac

    2 years ago
    To cache what and where?
    a

    Andrew Kirkham

    2 years ago
    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
    tapac

    tapac

    2 years ago
    That case is out of scope for Exposed library and there are a lot of caching frameworks for any case.