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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43ac0908c58c571cafbbae30b4bc8b9fa17470cabd190a9ab12bfb766932f843 |
|
MD5 | 7d9f85af025d70e38618f14f28d4e9dc |
|
BLAKE2b-256 | 104b02914a79b76819cce58657ef14c0f65eddd984c1a6e4b8ae28b4088468e6 |
Close
Hashes for django_sqlite_file_cache-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d015b16c5071ba09822027e96638e9920c1b82dd962a96384ef0f8a39e4c798 |
|
MD5 | d51f4dcb3ae50045becf5e64e8f16b3f |
|
BLAKE2b-256 | 8ea33678e3fc84a70277cea480245420107e0b6e11b704cf40b39a55b5dce384 |