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.4.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 603bb02b27c21bfa80ec68835ef85f8a27bf8b3c5fc9d1f9449f086c15d2f766 |
|
MD5 | 100b94bf9df346674fbc7a85340d51ee |
|
BLAKE2b-256 | 6ceafc356a5480c89a5abff742e96600af3aab32f9b2d44b7c73063f4043b808 |
Close
Hashes for django_sqlite_file_cache-0.4.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b410a5f609f56d1d90934c01bb1865d29c070e6efdb61eb25abe0b089a601714 |
|
MD5 | 9a2df3756bf62b4409c2c48d66441cb3 |
|
BLAKE2b-256 | d47e8c62cc79a90539de3bcb4a928d482e890a96368d780cd33c3879c5c832a2 |