Use Flask-cache to handle cache instead of using directly pylibmc