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-1.6.0.tar.gz (65.6 kB view details)

Uploaded Source

Built Distribution

Flask_Caching-1.6.0-py2.py3-none-any.whl (29.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Flask-Caching-1.6.0.tar.gz.

File metadata

  • Download URL: Flask-Caching-1.6.0.tar.gz
  • Upload date:
  • Size: 65.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for Flask-Caching-1.6.0.tar.gz
Algorithm Hash digest
SHA256 92368bd8c3a6aa4164c7322335134c912cd8462a4b83de4904929da38863de95
MD5 ed0ebd2fcb2af69648cf8782d191362c
BLAKE2b-256 42b11a672c16ded7e0a441efb976f173e4c5fb8be489664778575b32dd8b8c2d

See more details on using hashes here.

Provenance

File details

Details for the file Flask_Caching-1.6.0-py2.py3-none-any.whl.

File metadata

  • Download URL: Flask_Caching-1.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for Flask_Caching-1.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e1f8510b1c051c39bc8883dc5799a8b668205ad45f3eb7c4b2cb3f4dd995eca9
MD5 70a7fde2be5597ed8c36f41ab885c4e6
BLAKE2b-256 aa834203b09b1a309d76529071514b146b8a2ea673bc419a0ff89d1d46b36dec

See more details on using hashes here.

Provenance

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