Opened 12 years ago

Closed 12 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: UI/UX:


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@… 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by jjinux@…


comment:1 Changed 12 years ago by django@…

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

comment:2 Changed 12 years ago by Adrian Holovaty

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