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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0897772e9ffad67d08f497b7117ddd196add6442ee700f1fa92336c797e6ea47 |
|
MD5 | 2642020866508c006e97669708db1241 |
|
BLAKE2b-256 | 19c3179afd5156859c56ae8b8f4470a91bd38c5423f2f426474fc4383885fa9e |
Close
Hashes for django_sqlite_file_cache-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1594ded5107b939d3fae0dfc427277563ef79ebd0c40b672f90ce1f65024fede |
|
MD5 | 11c14f32e6dcdc04c0a27e5de9ef3691 |
|
BLAKE2b-256 | 76e0f306e9e4019ebb7a4b786c9bafac058ea44159ba3f70ec071f77cf0ede0f |