About Anaconda Help Download Anaconda

Winand / packages / flask-caching 1.4.0

Adds caching support to your Flask application

Installers

  • win-64 v1.4.0

conda install

To install this package run one of the following:
conda install winand::flask-caching

Description

Flask-Caching

Adds easy cache support to Flask.

Setup

The Cache Extension can either be initialized directly:

.. code:: python

from flask import Flask
from flask_caching import Cache

app = Flask(__name__)
# For more configuration options, check out the documentation
cache = Cache(app, config={'CACHE_TYPE': 'simple'})

Or through the factory method:

.. code:: python

cache = Cache(config={'CACHE_TYPE': 'simple'})

app = Flask(__name__)
cache.init_app(app)

Links

  • Documentation <https://pythonhosted.org/Flask-Caching/>_
  • Source Code <https://github.com/sh4nks/flask-caching>_
  • Issues <https://github.com/sh4nks/flask-caching/issues>_
  • original Flask-Cache Extension <https://github.com/thadeusb/flask-cache>_

© 2025 Anaconda, Inc. All Rights Reserved. (v4.2.0) Legal | Privacy Policy