Opened 9 years ago

Closed 9 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:

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

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by jjinux@…

patch

comment:1 Changed 9 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 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(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