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)
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for Flask-Caching-IceFruit-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 083f8a42266fdbf0e432d03a02e69b265a685528b81656c35d35cb62decaff7d |
|
MD5 | 28539ce8b3aa2e6771948dcf66606258 |
|
BLAKE2b-256 | 194f32abb5fb1d569137281b2e2f24af87e772217dd0f14d458a7e7f437a6818 |
Close
Hashes for Flask_Caching_IceFruit-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95d97891c7aec57c0dc9de4496e88f47e5e668ef55b5cb6b0b5cee6b5fadb3fa |
|
MD5 | a5843b8b3342dd494a9576447b612826 |
|
BLAKE2b-256 | 9aa14b52e0e7451496d961fd32c65af124f38ef489a24552cb519eb95fdeb04a |