Skip to main content

uWSGI cache backend.

Project description

Packaging of code from http://uwsgi-docs.readthedocs.org/en/latest/WebCaching.html with some small changes.

Installation

pip install django-uwsgi-cache and change settings to:

CACHES = {
    'default': {
        'BACKEND': 'uwsgicache.UWSGICache',
    }
}

Requirements

  • Django 1.3 or later

Settings

UWSGI_CACHE_FALLBACK

  • False - raises Exception if uwsgi cannot be imported.

  • True (default) - if uwsgi is not importable this cache backend will alias to LocMemCache. Note that south or other mangement commands might try to load the cache backend so this is why it’s the default.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-uwsgi-cache-0.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page