Closed Bug 142843 Opened 23 years ago Closed 23 years ago

mozilla ignores "Expires: 0" and "Pragma: no-cache" when sent with a "Last-Modified" header

Categories

(Core :: Networking: HTTP, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla1.0

People

(Reporter: darin.moz, Assigned: darin.moz)

References

()

Details

(Keywords: regression, topembed+, Whiteboard: [RTM][fixed-trunk][m5+])

Attachments

(1 file)

mozilla ignores "Expires: 0" when sent with a "Last-Modified" header. seems the "Last-Modified" header is causing us to calculate a non-zero freshness lifetime... it should be trumped by the "Expires: 0", but for some reason that's not happening. noticed with build 2002050606 under win2k
Status: NEW → ASSIGNED
Keywords: topembed
Priority: -- → P3
Whiteboard: [pe]
Target Milestone: --- → mozilla1.0.1
actually, the same problem occurs if the server sends "pragma: no-cache" in place of "expires: 0" ... so this seems like a major regression to me.
Severity: normal → major
Priority: P3 → P1
Whiteboard: [pe] → [pe][RTM]
Target Milestone: mozilla1.0.1 → mozilla1.0
Attached patch v1 patchSplinter Review
(this bug is triggered on topsites like mtv.com)
Keywords: adt1.0.0
Summary: mozilla ignores "Expires: 0" when sent with a "Last-Modified" header → mozilla ignores "Expires: 0" and "Pragma: no-cache" when sent with a "Last-Modified" header
Comment on attachment 82707 [details] [diff] [review] v1 patch r=bbaetz
Attachment #82707 - Flags: review+
Please check into trunk ASAP; and if not done so already request drivers approval
topembed plussing this as correct caching is crucial.
Keywords: topembedtopembed+
fixed-on-trunk
Whiteboard: [pe][RTM] → [RTM][fixed-trunk]
Blocks: 138000
Attachment #82707 - Flags: approval+
adding adt1.0.0+. Please check into the branch as soon as possible. It looks like Jud gave drivers approval.
Keywords: adt1.0.0adt1.0.0+
Whiteboard: [RTM][fixed-trunk] → [RTM][fixed-trunk][m5+]
fixed-on-branch
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Keywords: fixed1.0.0
Resolution: --- → FIXED
verified on trunk - 05/09 builds winNT4, linux rh6, mac osX
verified on branch - 05/09 builds winNT4, linux rh6, mac osX
Status: RESOLVED → VERIFIED
verified1.0.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: