#13008: @never_cache decorator should add 'no-cache' & 'must-revalidate'
-------------------------------------+------------------------------------
Reporter: harm | Owner: nobody
Type: Bug | Status: new
Component: Core (Cache system) | Version: 1.2-beta
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+------------------------------------
Comment (by harm):
confirmed, {{{must-revalidate}}} is not necessary.
tested adding cache control headers with
{{{
@cache_control(max_age=0, no_cache=True, no_store=True)
}}}
on FF 19.0 + FF 19.02 + chrome 25 (on mac)
A 'back' button in the browser, reloads a view.
So I think your patch
[https://code.djangoproject.com/attachment/ticket/13008/13008.diff
13008.diff] is correct.
--
Ticket URL: <https://code.djangoproject.com/ticket/13008#comment:13>
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.