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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56d707f1a6af15a587a2d915d768d6115e6df479e5d7e1ff0c820c44bd55f868 |
|
MD5 | aa88935b6e0587c0039074ea080d7348 |
|
BLAKE2b-256 | 9deba824ee8a9ba625c93320e3cbd0cacb523b75fcab76427bfa9cba44089f61 |
Close
Hashes for django_sqlite_file_cache-0.4.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f98e03b1b2eab68b6c9e48757e2d0d4331e9ad61625803f82e4a4fee77ff4e33 |
|
MD5 | f80e40a7538732bc0ff3239ad94cb101 |
|
BLAKE2b-256 | f12fabf92442170dac5780488697aeac844c0a678f18c8f04774b894eb2ecff9 |