mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #30765 -- Made cache_page decorator take precedence over max-age Cache-Control directive.
This commit is contained in:
committed by
Mariusz Felisiak
parent
1e0dcd6c8b
commit
d08d4f464a
@@ -430,6 +430,10 @@ Miscellaneous
|
||||
used with :setting:`DEFAULT_EXCEPTION_REPORTER_FILTER` needs to inherit from
|
||||
:class:`django.views.debug.SafeExceptionReporterFilter`.
|
||||
|
||||
* The cache timeout set by :func:`~django.views.decorators.cache.cache_page`
|
||||
decorator now takes precedence over the ``max-age`` directive from the
|
||||
``Cache-Control`` header.
|
||||
|
||||
.. _deprecated-features-3.1:
|
||||
|
||||
Features deprecated in 3.1
|
||||
|
||||
Reference in New Issue
Block a user