Daily Shaarli

All links of one day in a single page.

October 28, 2019

"When the browser can't take a (preconnect) hint", Michael Crenshaw (@m4c9416)
thumbnail

The crossorigin attribute, when used with rel="preconnect", doesn't describe where the target origin is but rather what kind of assets will be downloaded from that origin. If the assets use CORS, crossorigin is needed. If CORS won't be used, crossorigin should be omitted. If both types of assets will be present, two resource hints are necessary.