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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5db44e2ef13ad1d0823be9c503a86fba1ca334ad556b68a1dffb432d9223323 |
|
MD5 | 301e174fb83d7ea961ae6f4920867ff6 |
|
BLAKE2b-256 | cd17d40e09c1bf46e72f461c6cf40283e0ed7477cc88e0c8a59423532be71f11 |
Close
Hashes for django_sqlite_file_cache-0.6.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee43865a2ea146d63f14ddde30e2be704bd1a22ec5511ce1c9ad6569a1e64a1b |
|
MD5 | fa34a2054fdff8dffa86c1785e4804fe |
|
BLAKE2b-256 | 5502e8b4ae082a40020203d7d0878c4ae0a3c4b0232395f0ffb4709ca70054f4 |