#30765: cache_control() "max_age" overrides cache_page() "timeout"
-------------------------------------+-------------------------------------
Reporter: Danny Flack | Owner: Flavio
| Curella
Type: Bug | Status: closed
Component: Core (Cache system) | Version: 2.2
Severity: Normal | Resolution: fixed
Keywords: cache_control | Triage Stage: Accepted
cache_page UpdateCacheMiddleware |
CacheMiddleware |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"d08d4f464ab11cc226d4e197c0f43e26a7fd2961" d08d4f4]:
{{{
#!CommitTicketReference repository=""
revision="d08d4f464ab11cc226d4e197c0f43e26a7fd2961"
Fixed #30765 -- Made cache_page decorator take precedence over max-age
Cache-Control directive.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30765#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.a1e50116591c247bbe7f1d21e0d5851f%40djangoproject.com.