{F}rontendové nowwwinky

Hybrid meet up

Browsers

Microsoft Edge 101

released 8 April 2022

note:

Firefox 99

released 5 April 2022

note:

Chrome 100

released 5 April 2022

note:

Chrome 101

released 26 April 2022

Priority hints

Use cases
  1. prioritize hero image => reduce LCP
  2. deprioritize images in the carousel
  3. combine with async/defer: keep essential scripts in high priority, while being async (async are low priority by default)

Note:

Safari 15.4

released 14 March 2022

button:has(svg) {
}

note:

/* if .grid contains 2 elements, create 2 columns */
.grid:has(:nth-child(2):last-child) {
  grid-template-columns: 1fr 1fr;
}
/* previous sibling selector! */
:has(+ .second) {
  background-color: darkmagenta;
}

note:

/* parent selector, in the end */
:has(> .child) {
    color: grey;
}

note:

Internet Explorer

released 17 October 2013

No comment…

Caught in the net

note:

💾 Why we’re nostalgic for the early web

note:

Those HTML Attributes You Never Use

<input type="text" enterkeyhint="done">

note:

    

note:

Why is CSS so weird

note:

Request Map Generator

note:

Cache-Control for Civilians
by Harry Roberts aka @csswizardry

note:

  1. The best request is the one that never happens: in the fight for fast websites, avoiding the network is far better than hitting the network at all. To this end, having a solid caching strategy can make all the difference for your visitors.
  2. I would always recommend solving your cache busting strategy before even thinking about your caching strategy.

Back/forward cache

Chrome usage data shows that 1 in 10 navigations on desktop and 1 in 5 on mobile are either back or forward.

note:

To test a particular page, navigate to it in Chrome and then in DevTools go to Application > Back-forward Cache. Next click the Run Test button and DevTools will attempt to navigate away and back to determine whether the page could be restored from bfcache.

Smashing Magazine: Performance Optimization Strategy in 2022

note:

Thanks, slides soon on @frontendisti