Skip to main content

Adds caching support to your Flask application

Project description

Flask-Caching

Adds easy cache support to Flask.

Setup

The Cache Extension can either be initialized directly:

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:

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Flask-Caching-IceFruit-0.0.3.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

Flask_Caching_IceFruit-0.0.3-py2.py3-none-any.whl (23.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Flask-Caching-IceFruit-0.0.3.tar.gz.

File metadata

  • Download URL: Flask-Caching-IceFruit-0.0.3.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for Flask-Caching-IceFruit-0.0.3.tar.gz
Algorithm Hash digest
SHA256 487a4270810ff5f3bb2d0c934ee0eee4b6d29bb843bdc7b70be65872583535a9
MD5 b85e34844b4515deb923e4d7017b24ff
BLAKE2b-256 3ec3dc2d852d9b5e95fb858ca6b1efb9dd1aa9d012eee90414738bea631c762f

See more details on using hashes here.

File details

Details for the file Flask_Caching_IceFruit-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: Flask_Caching_IceFruit-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 23.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/28.8.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

File hashes

Hashes for Flask_Caching_IceFruit-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9632c9ded6a001a384fbd62ca55dd0635d72a0c847c1e3654ac228ad0c2b07d4
MD5 ef8cb854ae0b10ac6be6de85dc770221
BLAKE2b-256 f4a9063504aa9af996277ede17f40d757c103759f69381394721dd9e52b93285

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page