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.5.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dc337ddb4ab5e6f69c96147c39236ad4fb60c83d2a11a2e196fed5bae5f6ffe |
|
MD5 | dd3dc0fb28f1cf46d34059b57c47ed13 |
|
BLAKE2b-256 | a8c77a6e1f1c3161a54901e053d448d1a35e35677d1c29e234b2a1aa736c8ecd |
Close
Hashes for django_sqlite_file_cache-0.5.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7acd168f74f7fac995e4d48d8e1ad95d17277765903bdcab58013a774b98fc4 |
|
MD5 | b84b2a58f9160529e439e4cfee282259 |
|
BLAKE2b-256 | c59032db2dada3836ea15b9686a845163e6d33e40ef7a98491c3b741b0ee2708 |