1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator.

This commit is contained in:
Markus Bertheau
2015-04-27 23:56:02 +02:00
committed by Tim Graham
parent 82162b4499
commit 4a438e400b
7 changed files with 45 additions and 3 deletions

View File

@@ -118,6 +118,10 @@ Cache
* ``django.core.cache.backends.base.BaseCache`` now has a ``get_or_set()``
method.
* :func:`django.views.decorators.cache.never_cache` now sends more persuasive
headers (added ``no-cache, no-store, must-revalidate`` to ``Cache-Control``)
to better prevent caching.
Email
^^^^^