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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c4d11b9736bb3a7b4c62f957757bd9df8fcfc9c2c66f991e37cac10fc118329 |
|
MD5 | c9bc90d850998de391da067ce298f0cb |
|
BLAKE2b-256 | 5994c89b8bc5c72401e962e1380c58a48cef5558edf31c615bee9ac7e029080f |
Close
Hashes for django_sqlite_file_cache-0.5.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56a28027cbc3afd748406fd0ad1d9189888517cfcc49b5c19f7f925c633a8ff7 |
|
MD5 | 5ff889b384d2bf7f3e6206e0f645a6ed |
|
BLAKE2b-256 | 3336d2e35fba7e35ce4d6fe3d904b7f230ec6e1045a1538304d3e6112765b469 |