Open
Bug 1284380
Opened 8 years ago
Updated 4 years ago
Bugzilla should set Cache-Control: private on all requests (until we can do something more flexible)
Categories
(bugzilla.mozilla.org :: General, enhancement, P5)
Tracking
()
NEW
People
(Reporter: dylan, Unassigned, Mentored)
Details
Attachments
(1 file)
If a bugzilla user wants to run it behind a CDN like fastly, the reverse proxy may cache the result of show_bug.cgi, including show_bug.cgi on a private bug. Setting Cache-Control: private in $cgi->header() should alleviate this. However if Cache-Control is already set, nothing should be done. Hopefully we can begin to do even smarter things so that bugzilla sites can run behind fast CDNs.
Reporter | ||
Comment 1•8 years ago
|
||
The code in question would be https://github.com/bugzilla/bugzilla/blob/master/Bugzilla/CGI.pm#L275-L345 CGI.pm does some name mangling, so the value would be $headers{Cache_Control}.
Reporter | ||
Updated•8 years ago
|
Mentor: dylan
Comment 2•5 years ago
|
||
Hey! I would like to work on this bug. As this bug is my first, can someone guide me, as to where should I start from?
Comment 3•5 years ago
|
||
Removing good-first-bug
keyword because team does not have bandwidth to mentor at the moment.
Keywords: good-first-bug
Updated•5 years ago
|
Assignee: general → dylan
Component: Bugzilla-General → General
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: 5.1.1 → Production
Comment 4•5 years ago
|
||
Updated•5 years ago
|
Type: defect → enhancement
Reporter | ||
Updated•5 years ago
|
Assignee: dylan → nobody
Comment 5•4 years ago
|
||
I would love to give this bug a go. Could it be assigned to me, please?
Updated•4 years ago
|
Whiteboard: [good first bug]
You need to log in
before you can comment on or make changes to this bug.
Description
•