Re: [Django] #11479: cache_page and last_modified decorators can't be used together

0 views
Skip to first unread message

Django

unread,
Sep 17, 2025, 2:50:05 PM9/17/25
to django-...@googlegroups.com
#11479: cache_page and last_modified decorators can't be used together
-------------------------------------+------------------------------------
Reporter: megaman821@… | Owner: nobody
Type: Bug | Status: closed
Component: Core (Cache system) | Version: 1.0
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+------------------------------------
Changes (by jdsleppy):

* resolution: => fixed
* status: new => closed

Comment:

The `UpdateCacheMiddleware` does not set the "Last-Modified" header under
any circumstances anymore, so the issue as described in this ticket does
not exist in modern Django. This was changed in Django 1.11 by this
commit
[https://github.com/django/django/commit/9e07a9b5feb30fe06fb23d0e77edd34f6c3f92b5]
--
Ticket URL: <https://code.djangoproject.com/ticket/11479#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages