Open Bug 696866 Opened 14 years ago Updated 1 year ago

Show Bug should set Cache-Control and Pragma to no-cache

Categories

(Bugzilla :: Creating/Changing Bugs, enhancement)

enhancement
Not set
normal

Tracking

()

REOPENED

People

(Reporter: michael.j.tosh, Unassigned)

Details

Attachments

(1 obsolete file)

This would allow an administrator to use mod_rewrite to allow shorter urls and ensuring that a bug is never cached. I've been playing with the following code in show_bug.cgi: use POSIX; print $cgi->header({ -format => $format->{'ctype'}, -expires => 'Sat, 26 Jul 1997 05:00:00 GMT', -Last_Modified => strftime('%a, %d %b %Y %H:%M:%S GMT'), -Pragma => 'no-cache', -Cache_Control => join(', ', qw( private no-cache no-store must-revalidate max-age=0 pre-check=0 post-check=0 )), }); Certainly an enhancement, but one that could improve the look of URL's.
Hmm, disabling cache sounds a bad idea.. but whatever is done can be done on the existing bug. :)
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Ah, no, actually, these bugs are opposites, not duplicates. Probably we should support rewriting, ourselves, first, before implementing this upstream. Otherwise, I would suggest just implementing it as a local customization for yourself, for now.
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: DUPLICATE → ---
Attachment #9383209 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: