MikroORM have simple result caching mechanism. It works with those methods of
count(), as well as with
QueryBuilder result methods (including
By default, in memory cache is used, that is shared for the whole
instance. Default expiration is 1 second.
Or with query builder:
We can change the default expiration as well as provide custom cache adapter in the ORM configuration:
Custom cache adapters need to implement