add mongo cache

Signed-off-by: Alexandr <xescoder@gmail.com>