Opened 13 years ago

Closed 12 years ago

#17119 closed Bug (fixed)

Cache Framework: wrong per-site cache behavior documentation

Reported by: Vanni Owned by: Dan Poirier
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

From https://docs.djangoproject.com/en/dev/topics/cache/#the-per-site-cache documentation page: "The cache middleware caches every page that doesn't have GET or POST parameters".
AFAIK it is not true. URLs with GET parameters (like http://www.example.com/?this_is_a_get_param=value) get (IMHO correctly) cached and POST parameters are simply ignored.

Attachments (1)

17119.diff (2.0 KB ) - added by Calvin Spealman 12 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by vanni.totaro@…, 13 years ago

comment:2 by vanni.totaro@…, 13 years ago

Type: UncategorizedBug

comment:3 by vanni.totaro@…, 13 years ago

Easy pickings: set

comment:4 by Dan Poirier, 12 years ago

Owner: changed from nobody to Dan Poirier
Triage Stage: UnreviewedAccepted

Looking at the cache code, doc is clearly wrong.

by Calvin Spealman, 12 years ago

Attachment: 17119.diff added

comment:6 by Karen Tracey, 12 years ago

Resolution: fixed
Status: newclosed

In [17090]:

Fix #17119: Update cache doc to match current implementation, which does (since r15705) cache pages with GET parameters. Thanks Vanni, poirier, and calvinspealman.

Note: See TracTickets for help on using tickets.
Back to Top