5

Hasty Treat - The Weird and Wonderful <link> Tag

 2 years ago
source link: https://syntax.fm/show/379/hasty-treat-the-weird-and-wonderful-less-than-link-greater-than-tag
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Aug 16th, 2021

Hasty Treat - The Weird and Wonderful <link> Tag

👇 Download Show✏️ Edit Show Notes

In this Hasty Treat, Scott and Wes talk about the <link> tag — why it's weird and wonderful, and what you can do with it!

Sanity - Sponsor

Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.

Sentry - Sponsor

If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.

Show Notes

04:16 - What is it?

05:11 - CSS / Media attr

07:13 - Web fonts

08:09 - Favicons

08:36 - Preload + Prefetch Resource

  • Audio, document, fetch, font, image, script, style, track, video, worker + more

10:15 - Fetch request (shoutout Ryan)

11:27 - Preconnect

  • Consider adding preconnect or dns-prefetch resource hints to establish early connections to important third-party origins.
  • <link rel="preconnect" href="[https://fonts.googleapis.com](https://fonts.googleapis.com/)">
  • <link rel="preconnect" href="[https://fonts.gstatic.com](https://fonts.gstatic.com/)" crossorigin>

13:01 - Module

  • <link rel="modulepreload" href="/chunk-12131.js">

13:30 - Integrity

Tweet us your tasty treats!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK