Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Django Cache.

Project description

=====
Django request cache
=====

Middlewares:
-----------

- CacheMiddleware


Use:
----

.. code-block:: python

# settings.py
INSTALLED_APPS = [
# .
# .
# .
"cache.apps.CacheConfig"
]


MIDDLEWARE = [
'cache.middleware.CacheMiddleware',
# .
# .
# .
]

REDIS_HOST = 'localhost'
REDIS_PORT = 6379
REDIS_DB = 0
REDIS_EXPIRE = 600


Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django_requests_cache-0.1.11-py3-none-any.whl (4.0 kB) Copy SHA256 hash SHA256 Wheel py3 Jul 11, 2018
django-requests-cache-0.1.11.tar.gz (9.1 kB) Copy SHA256 hash SHA256 Source None Jul 11, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page