Implement doctrine cache