Syntax - Tasty Web Development Treats

20 Easy Win Performance Tips


Listen Later

In this episode, Scott and Wes chat about 20 different ways you can improve the perf, speed and overall user experience of your websites.

Cloudinary - Sponsor

Cloudinary is the best way to host, compress and transform your images on the web. Sign up for their free tier and get 10GB of bandwidth for free!

Also check out Cloudinary's ImageCon conference - use the code SYNTAX99 for a discount when checking out.

Fluent Conf - Sponsor

Developers, software engineers, designers, and web performance professionals flock to Fluent in pursuit of a common goal: building a better web. That means delivering fast, secure, accessible experiences to users and customers.

Fluent covers a broad range of technologies and topics to provide web programming professionals with the skills, connections, and inspiration needed to build better online and mobile experiences.

Fluent is this June 11-14 in San Jose, CA. Save 20% today with code: SYNTAX

Show Notes

So many perf tips came in over twitter, so in addition to this podcast I'd recommend you read all the replies to this tweet

0:00

  • We just cracked 1,000,000 downloads! Thank you!

4:00

  • Network Tips
  • Reducing the amount of HTTP requests
  • A little bit about HTTP2
  • An interview about http2

8:00

  • Use Caching and LocalStorage
  • Turn on aggressive caching on your server - long expire times
  • What is gzip? / Enabling gzip

12:00

  • Using a CDN
  • Listen to our episode on CDNs and #BigZips

13:00

  • When to load your JS
  • Blocking Requests

15:00

  • Use Lazy Loading

17:00

  • Preloading content with Link rel="preload"
  • rel="prefetch"

19:00

  • Picture, picturefill and srcset=""
  • Article on srcsrc and Picture
  • srcset vs picture/source elements

25:00

  • Image Compression
  • One less jpg
  • Serve less data

26:00

  • Inline SVG
  • Talk about Font Awesome

33:00

  • CSS and JS Code
  • Critical CSS

37:00

  • Remove unused code
  • Purify CSS
  • no-unused-imports with ESlint

38:00

  • Code Splitting

40:00

  • Transpile less
  • babel-preset-env

41:00

  • Tree shaking
  • Hoyyyy its a tree shaker

42:00

  • Async ans defer attributes on your script tags
  • Amazing site that visualizes async and defer

45:00

  • Icon Fonts
  • Web Fonts
  • Native Font Stack:
  • Good: font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

47:00

  • font-display

49:00

  • Troubleshooting Performance
  • Simulate Slow Network Speed
  • Google Page Speed
  • Wes' Page Speed Video
SIIIIICKkkkkkkkk PIXXXXX
  • Scott: WiFi Surge Protector
  • Wes: KitSound Bluetooth Airline Converter
Shameless Plugs
  • Scott is working on a Vue course!
  • Wes is working on his Advanced React course!
Tweet us your tasty treats!
  • Scott's Instagram
  • LevelUpTutorials Instagram
  • Wes' Instagram
  • Wes' Twitter
  • Wes' Facebook
  • Scott's Twitter
  • Make sure to include @SyntaxFM in your tweets
...more
View all episodesView all episodes
Download on the App Store

Syntax - Tasty Web Development TreatsBy Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

977 ratings


More shows like Syntax - Tasty Web Development Treats

View all
Software Engineering Radio - the podcast for professional software developers by team@se-radio.net (SE-Radio Team)

Software Engineering Radio - the podcast for professional software developers

272 Listeners

Hanselminutes with Scott Hanselman by Scott Hanselman

Hanselminutes with Scott Hanselman

383 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

290 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

622 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

584 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

288 Listeners

Thoughtworks Technology Podcast by Thoughtworks

Thoughtworks Technology Podcast

43 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

215 Listeners

The freeCodeCamp Podcast by freeCodeCamp.org

The freeCodeCamp Podcast

487 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

189 Listeners

Practical AI by Practical AI LLC

Practical AI

205 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

63 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

141 Listeners

PodRocket by LogRocket

PodRocket

60 Listeners

Oxide and Friends by Oxide Computer Company

Oxide and Friends

66 Listeners