A Django cache backend which has a similar API to FileBasedCache, but reduces the number of inodes used
Project description
django-sqlite-file-cache
A Django cache backend which has a similar API to FileBasedCache, but reduces the number of inodes used.
Supports both Python >=v2.7
and >=3.4
.
Installation
pip install django-sqlite-file-cache
Usage
Add to your Django CACHES
CACHES = {
'default': {
'BACKEND': 'django_sqlite_file_cache.SQLiteFileCache',
'LOCATION': '/var/tmp/django_cache/cache.db',
}
}
Ensure LOCATION
path is readable/writable by the web server's user
See https://docs.djangoproject.com/en/3.1/topics/cache/ for more options
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 django-sqlite-file-cache-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85b1831d0b4d45c25a8b327418f64f95bafa267e4a91d7453f83d05514af77e3 |
|
MD5 | 80657ffae601c63bfbf6cc8fb67cabc1 |
|
BLAKE2b-256 | 9553c0db08108676ee4b360bc17292d16ef8e50d7f662c564ec50742845c26b0 |
Close
Hashes for django_sqlite_file_cache-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86d4826847da3381eaf01b6ddb8e50c98ce2d98c1a354e0e02b13bfad8674ec1 |
|
MD5 | 5ded8351216a2883d29c4df486ee2a7a |
|
BLAKE2b-256 | b66bdba156630a04171112edb37ae67a0f6a570f743d58d80f9e925c8ffd2357 |