Opened 18 years ago

Closed 18 years ago

#1457 closed enhancement (fixed)

[patch] add support for the if-modified-since header for static content

Reported by: jjinux@… Owned by: Jacob
Component: Generic views Version:
Severity: minor Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

If you use the builtin Web server, it doesn't respect the if-modified-since header. Hence, static content is re-downloaded on every page request. This patch fixes that.

Attachments (1)

django_if_modified_since_svn.diff (2.9 KB ) - added by jjinux@… 18 years ago.
patch

Download all attachments as: .zip

Change History (3)

by jjinux@…, 18 years ago

patch

comment:1 by django@…, 18 years ago

That's been bugging me ever since you brought it up in your post the other day ;) Thanks for the patch.

comment:2 by Adrian Holovaty, 18 years ago

Resolution: fixed
Status: newclosed

(In [2476]) Fixed #1457 -- Added support for if-modified-since header in django.views.static. Thanks, Shannon -jj Behrens

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