Open Bug 1925456 Opened 1 year ago Updated 11 months ago

Consider not failing the HTTP channel if the revalidation network request fails

Categories

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

enhancement
Points:
2

Tracking

()

People

(Reporter: valentin, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [necko-triaged][necko-priority-next])

Attachments

(1 file)

While looking at some logs in bug 1896216 I noticed that we had a cache entry for a request that we needed to revalidate.
However, the network request failed, so the channel failed.
I think we should consider whether it's correct to continue the load from cache like we would do when receiving a 304 not modified or when the browser is offline.

Summary: Consider not failing the request if the revalidation channel fails → Consider not failing the HTTP channel if the revalidation network request fails

This seems like it would be a clear win for the user experience when transitioning out of a network.

Whiteboard: [necko-triaged][necko-priority-new] → [necko-triaged][necko-priority-next]

Ping for security review

Flags: needinfo?(rjesup)
Blocks: 1951764
No longer blocks: 1966774
Points: --- → 2
Rank: 3
Flags: needinfo?(rjesup)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: