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.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ea70f8a94e879b0f4a58cd22854827ea07f280b36834453ae14dcb4e508b763 |
|
MD5 | eb953cd3e19314a8ce01b704eea403b7 |
|
BLAKE2b-256 | e813a7aea9652e657a58fe2dc91beffcbb6877c24f69579133373def10e1bac3 |
Close
Hashes for django_sqlite_file_cache-0.6.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11be67f60136fa78cb0d184e93acf38d3ce2979bee287d06146eb595d19761c4 |
|
MD5 | cca1996bbaa00abc32f0128ca09b4cb4 |
|
BLAKE2b-256 | a79a3a71ca54858104c80db6ed59e620ed37b98ac4bb69fa3e1a22da9dd60fdb |