Closed Bug 81636 Opened 23 years ago Closed 23 years ago

Mozilla does not remember 301 responses

Categories

(Core :: Networking: HTTP, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 48202
mozilla0.9.3

People

(Reporter: tenthumbs, Assigned: darin.moz)

Details

I don't know if this is HTTP or cache or both. Someone decide.

Consider a fairly common situation. HTML page A has a link to URL B. If
you click on the link, the URL B server returns a 301 response and points
to URL C. Mozilla dutifully goes to the new location and displays the
correct page. If I now go back to page A and click on the same link,
mozilla has no memory of what just happened so it goes to URL B again.  
If the URL B server is slow there can be a noticeable delay in accessing
the real page.

I think mozilla should cache the 301 response so it can avoid repeating
the intermediate step.
cc'ing darin and gordon
Target Milestone: --- → mozilla0.9.3
Real world example:  <http://www.w3c.org/>
this is a regression from my http branch landing.

-> me
Assignee: neeti → darin

*** This bug has been marked as a duplicate of 48202 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Why is this a dup of 48202? That bug is about form handling and
submission. This one is about caching any 301 response.
that bug is about fixing our handling of 301 responses... the patch for that
bug will include the fix for this bug as well.
verified dup
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.