Skip to content

murrple-1/django-sqlite-file-cache

Repository files navigation

django-sqlite-file-cache

A Django cache backend which has a similar API to FileBasedCache, but reduces the number of inodes used.

Build Status Coverage Status PyPI version

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages