Socket
Socket
Sign inDemoInstall

django-sqlite-file-cache

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-sqlite-file-cache

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


Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc