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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5238aece6be521ac08c97f7227e15e3c7ae55dc277ed44d6a0d36c3308aeab8d |
|
MD5 | 02b75be42c2f53998b48a0d34623d0c6 |
|
BLAKE2b-256 | 3ddd83535e629d55427804648f420e5d6708fc058623f4de6e5d591f506e2e65 |
Close
Hashes for django_sqlite_file_cache-0.4.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38914bdf8dd9a0c67dd4bac96fc9bfbbbd7da3984cc8999da9ce67ada3f7701c |
|
MD5 | 163b9abb668857f221eea2243ab0b579 |
|
BLAKE2b-256 | 2ae270b7f0fafa857cddb3d5009410f6b4fcb2b5558caad8c582823d1e552eb9 |