Use MEDIA_SERIAL on dashboard images.
Review Request #1896 — Created Nov. 7, 2010 and submitted — Latest diff uploaded
This is similar to http://reviews.reviewboard.org/r/1887/ and makes sure that all images on the dashboard correctly include MEDIA_SERIAL, which not only makes them cache properly when served with far-future expires headers, but prevents the same images from being fetched twice on the same page with two different URLs.
Checked that all dashboard images now serve with a consistent URL that includes the MEDIA_SERIAL.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
reviewboard/reviews/datagrids.py |
---|
reviewboard/reviews/templatetags/reviewtags.py |
---|