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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99f4f9631c6c70d75de2bcaa86b783f1cf3520e72cabac74083e64bbc16e0430 |
|
MD5 | c964cff52cba0b3d5e8f108cfdd197fc |
|
BLAKE2b-256 | 41c4089add004aa04058e5494abbab959fcbbb6ea9173fa97d2f5f659bc92ed5 |
Close
Hashes for django_sqlite_file_cache-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 360921ddcfd0bb40542021f08e1509ab146c9e5e1c635f87aeced4ce7ada2083 |
|
MD5 | a6fb438822c93c660ae1972f46b0d949 |
|
BLAKE2b-256 | 2e2c81274847f0b5644a60bb3ae26ca2e7572c98e45255b29073af0bbf252066 |