summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/utils.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 00ac7970d7..a9072f9442 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -53,7 +53,6 @@ need to distinguish caches by the ``Accept-language`` header.
Adds some useful headers to the given ``HttpResponse`` object:
* ``ETag``
- * ``Last-Modified``
* ``Expires``
* ``Cache-Control``
@@ -62,6 +61,10 @@ need to distinguish caches by the ``Accept-language`` header.
``cache_timeout`` is in seconds. The :setting:`CACHE_MIDDLEWARE_SECONDS`
setting is used by default.
+ .. versionchanged:: 1.11
+
+ In older versions, the ``Last-Modified`` header was also set.
+
.. function:: add_never_cache_headers(response)
Adds a ``Cache-Control: max-age=0, no-cache, no-store, must-revalidate``