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
Release files for django-sqlite-file-cache 0.6.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_sqlite_file_cache-0.6.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Release files / django_sqlite_file_cache-0.6.2-py2.py3-none-any.whl
| Download URL | django_sqlite_file_cache-0.6.2-py2.py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
11cc7cba2ed27ed0e3f6cea6665c75f28553c6b303bdcb6b75e55ec72098bcf7
|
|
BLAKE2b-256 checksum How to use checksums |
bba3f90b9130e215649c83b9e8e18af29b5646fd676feccf065d752c2209b10a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.13
|