rsnext/packages/next/client
Joe Haddad 04ab35298a
Remove preload for priority images (#19118)
Fixes #18720

This removes image preloading. It doesn't work correctly on any browser other than Chrome (with Chrome's real engine). On all other browsers, it triggers 2x the bytes to be downloaded. The tradeoff isn't worth it here IMO.

Chrome itself should be smart enough to bump an `<img />` tag's priority over other preloads that are script type during the preparse phase.

We can reintroduce this when we don't hurt non-Chrome users.
2020-11-12 19:45:50 +00:00
..
dev Remove the static optimization indicator (#18629) 2020-11-02 09:27:36 +01:00
head-manager.ts Revert "Remove next-head-count (#16758)" (#18713) 2020-11-10 16:35:47 -05:00
image.tsx Remove preload for priority images (#19118) 2020-11-12 19:45:50 +00:00
index.tsx Replace page loader with new route loader (#19006) 2020-11-11 18:13:16 +00:00
link.tsx Control <Image /> prefetching with React (#18904) 2020-11-06 23:03:15 +00:00
next-dev.js Remove the static optimization indicator (#18629) 2020-11-02 09:27:36 +01:00
next.js Shave a few bytes off the bootstrap code (#14457) 2020-06-22 17:50:17 +00:00
normalize-trailing-slash.ts fix basepath trailing slash (#15200) 2020-07-15 23:53:31 +00:00
page-loader.ts Ensure params and locale are parsed correctly in fallback mode (#19063) 2020-11-11 20:33:44 +00:00
performance-relayer.ts ncc inlining optimizations (#18752) 2020-11-04 21:52:49 +00:00
polyfills.js polyfills 2020-03-30 16:26:25 -04:00
request-idle-callback.ts Replace page loader with new route loader (#19006) 2020-11-11 18:13:16 +00:00
route-loader.ts Adjust how CSS files are fetched (#19091) 2020-11-12 02:14:48 -05:00
router.ts Update to have default locale matched on root (#17669) 2020-10-08 11:12:17 +00:00
use-intersection.tsx Replace page loader with new route loader (#19006) 2020-11-11 18:13:16 +00:00
with-router.tsx Convert wrapper class to function component (#9095) 2019-11-09 14:56:59 -08:00