Closed Bug 1812505 Opened 2 years ago Closed 2 years ago

Firefox doesn't reuse cached responses for bugzilla.mozilla.org

Categories

(Core :: Networking: Cache, defect, P2)

Firefox 110
defect

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox-esr102 --- wontfix
firefox-esr115 --- wontfix
firefox114 --- wontfix
firefox115 --- wontfix
firefox116 --- fixed

People

(Reporter: 6k64x4ma, Assigned: smayya)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [necko-triaged][necko-priority-queue])

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0

Steps to reproduce:

  1. Launch Firefox with a new profile.
  2. Set network.http.rcwn.enabled to false.
  3. Go to https://bugzilla.mozilla.org/home
  4. Open the Network Inspector.
  5. Click the link to https://bugzilla.mozilla.org/home

Actual results:

  • Firefox doesn't use the If-Modified-Since or If-None-Match request headers.
  • This is not a recent regression. I can reproduce this on Firefox 60.

Expected results:

  • Firefox should send conditional requests.

Thanks for the report.
Indeed, there seems to have been a regression at some point.

This is as far as mozregression can go:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=c3f5e6079284a7b7053c41f05d0fe06ff031db03&tochange=5a2deb5a9b09df9ad2ca3ac1d0c480be250d31e4

Best candidates are Bug 1267474 and bug Bug 669259

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
Whiteboard: [necko-triaged][necko-priority-review]
Whiteboard: [necko-triaged][necko-priority-review] → [necko-triaged][necko-priority-review][necko-next]
Whiteboard: [necko-triaged][necko-priority-review][necko-next] → [necko-triaged][necko-priority-next]
Whiteboard: [necko-triaged][necko-priority-next] → [necko-triaged][necko-priority-queue]
Assignee: nobody → smayya

Based on comment #1, this bug contains a bisection range found by mozregression. However, the Regressed by field is still not filled.

:smayya, if possible, could you fill the Regressed by field and investigate this regression?

For more information, please visit BugBot documentation.

Flags: needinfo?(smayya)
Keywords: regression
Flags: needinfo?(smayya)
Regressed by: 1267474

Set release status flags based on info from the regressing bug 1267474

Attachment #9339233 - Attachment description: WIP: Bug 1812505 - conditional request must be sent for stale responses → Bug 1812505 - conditional request must be sent for stale responses with immutable cache-control extension. r=#necko
Attachment #9339408 - Attachment description: WIP: Bug 1812505 - add test to verify conditional requests are sent for stale responses with immutable cache-control extension → Bug 1812505 - add test to verify conditional requests are sent for stale responses with immutable cache-control extension. r=#necko
Pushed by smayya@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c75fa383ab07 conditional request must be sent for stale responses with immutable cache-control extension. r=necko-reviewers,valentin https://hg.mozilla.org/integration/autoland/rev/c7a752ac35e8 add test to verify conditional requests are sent for stale responses with immutable cache-control extension. r=necko-reviewers,valentin
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch

The patch landed in nightly and beta is affected.
:smayya, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox115 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(smayya)
Flags: needinfo?(smayya)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: