Skip to main content

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.

Source Distribution

django-requests-cache-0.1.11.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

django_requests_cache-0.1.11-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file django-requests-cache-0.1.11.tar.gz.

File metadata

File hashes

Hashes for django-requests-cache-0.1.11.tar.gz
Algorithm Hash digest
SHA256 4ad51f16e90d961983f916f18c3c3af72ecb2c3ecf43dd657322086cb3afa11b
MD5 8d83cb802fae84e77a7db554ead94e56
BLAKE2b-256 4bf4c16600d01f2840c0c5cfaf6740f33d47f7669da0b6e865c6834fa380ef0f

See more details on using hashes here.

File details

Details for the file django_requests_cache-0.1.11-py3-none-any.whl.

File metadata

File hashes

Hashes for django_requests_cache-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 f97cbaeba5a33d363775ac28499e7c7da36da058087f067fe4c6c5ba8a2e5351
MD5 cfc186a664c37887cc2c6dc92b7c033c
BLAKE2b-256 67fea1bc63852750bea8baf06a1d6f1bd6df263399a6d6d1b4c33b3038966114

See more details on using hashes here.

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