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:
committed by
Tim Graham
parent
82162b4499
commit
4a438e400b
@@ -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
|
||||
^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user