Daily Shaarli
October 28, 2020
"Web Performance: 11 Must-Read Tips to Give Your Site a Speed Boost", Oliver Lindberg (@oliverlindberg)
- Build for mobile first
- Stop using carousels and sliders
- Optimize your images
- Lazy load images
- Load web fonts with font swapping
- Create smooth animations
- Minimize third-party impact
- Preconnect to key third-party domains
- Wrangle your apps
- Monitor the number of requests per subdomain
There are two reasons why people use CSS grid:
- 😎 CSS is awesome! It's a fact, deal with it.
- 🛠️ Grid is a great tool to build complex two-dimensional layouts.
I sometimes have a third reason to use CSS grid: prevent layout shifts.