Bases: object
object
Manage a cached value.
Rebuild the cache.
We don’t pass the database session here because it is run in the background and we want to use our own connection pool.
Rebuild the cache if it is not recent enough.