gecko-dev/netwerk/protocol
Manuel Bucher b01d289292 Bug 1753730 - Add EarlyHintPreloader to load 103 Early Hint responses into the cache r=necko-reviewers,ckerschb,dragana,kershaw
Currently only same origin requests are preloaded and preloads in the
secure context. This may change in the future to match W3C decisions and
Chromes behavior.

Also only images get preloaded. This will change in the future to cover
asset types.

Currently the anchor isn't parsed correctly yet[1], so this will be
fixed in a future patch.

On non-2xx responses of the main document all ongoing preloads get
canceled. Already completed preloads don't get affected and are in the
cache.

It is currently untested whether unused preloads don't have side effects.

Another future patch should cover adding the preload to the devtools.

[1]: https://datatracker.ietf.org/doc/html/rfc8288#section-3.2

Differential Revision: https://phabricator.services.mozilla.com/D137885
2022-05-11 15:41:39 +00:00
..
about Bug 1743102 Added color-scheme meta tag to remaining about: pages r=Gijs,necko-reviewers,robwu 2021-12-17 00:42:23 +00:00
data Bug 1761512 - Remove unneeded special case in nsDataHandler::CreateNewURI. r=dragana,necko-reviewers 2022-04-01 11:46:11 +00:00
file Bug 1738106 - Part 3: Switch to TaskQueue::Create, r=xpcom-reviewers,necko-reviewers,media-playback-reviewers,dragana,alwu,barret 2022-05-02 20:37:34 +00:00
gio Backed out 22 changesets (bug 1696894, bug 1759569, bug 1754031, bug 1759563, bug 1759572, bug 1754004) for causing leack failures CLOSED TREE 2022-05-11 06:16:25 +03:00
http Bug 1753730 - Add EarlyHintPreloader to load 103 Early Hint responses into the cache r=necko-reviewers,ckerschb,dragana,kershaw 2022-05-11 15:41:39 +00:00
res Bug 1635428 - Part 1: Move mozilla::IsDevelopmentBuild to Omnijar.h r=mccr8 2022-03-31 23:36:25 +00:00
viewsource Bug 1735299 - Use fewer NS_ADDREF in netwerk/ r=nhnt11 2021-10-19 13:44:24 +00:00
websocket Backed out 22 changesets (bug 1696894, bug 1759569, bug 1754031, bug 1759563, bug 1759572, bug 1754004) for causing leack failures CLOSED TREE 2022-05-11 06:16:25 +03:00
moz.build Bug 1574475 - Stop compiling FTP code r=necko-reviewers,dragana 2021-04-28 09:33:45 +00:00