Cache support to Flask application