Caching
Introduction
Getting Started
DRIVERS = {
'disk': {
'location': 'storage/cache/templates'
}
}Redis
$ pip install redisDRIVER = 'redis'
DRIVERS = {
'disk': {
'location': 'storage/cache/templates'
},
'redis': {
'host': os.getenv('REDIS_HOST', 'localhost'),
'port': os.getenv('REDIS_PORT', '6379'),
'password': os.getenv('REDIS_PASSWORD', '')
}
}Using the Cache
Storing
Caching For Time
Getting
Checking Validity
Checking Cache Exists
Updating
Deleting
Last updated