ConTejas Code

Dan Shappir: How to Maximize Web Performance


Listen Later

Links


- Codecrafters (sponsor): https://tej.as/codecrafters

- Improving Wix Performance: https://www.smashingmagazine.com/2021/11/improving-performance-wix-websites-case-study/

- Dan on X: https://x.com/danshappir

- Tejas on X: https://x.com/tejaskumar_


Summary


In this episode, Dan Shappir discusses his journey in web performance, starting from gaming networks before the web. He explains the web vs. internet distinction, offline-first web apps, and remote access solutions. Dan's role at Next Insurance as a performance tech lead is highlighted. The talk covers improving browser performance, server-side rendering at Wix, modern CSS, CDNs, backend issues, and encapsulation impacts. Dan and Tejas discuss the BF cache's workings, browser compatibility, and telemetry impacts. Tips for staying updated in tech are shared, emphasizing passion and teaching. The episode concludes with support for Gaza and the Speculation Rules API.


Takeaways


1. Avoid overloading the browser with excessive JavaScript, CSS, and HTML.

2. Keep things small and lean to improve performance.

3. Implement server-side rendering, use modern CSS, and leverage caching with CDNs to enhance performance.

4. To stay relevant in the tech industry, follow your passion, accept that you can't know everything, and focus on understanding core concepts rather than chasing every new technology.

5. The BF cache (back-forward cache) allows browsers to store a memory snapshot of a web page when the user navigates away, enabling instant retrieval when the user returns.


Chapters


00:00 Introduction and Honoring the Situation

01:17 Dan's Background and Early Career

07:46 Dan's Journey into Web Performance

15:09 Offline-First Web Application

25:34 Joining Wix and Improving Performance

34:09 Transition to Next Insurance

45:46 The Beauty of Constraints

59:13 Using CSS for Layout

01:04:12 Backend Performance Issues

01:20:30 BF Cache

01:25:32 Performance Strategies

01:31:25 Advice for Staying Relevant in Tech

01:42:42 Speculation Rules API

01:43:14 Resource Hints: Prefetch and Preload

01:48:12 Script Tags and JSON Representation

01:51:39 Closing Remarks and Homework


Hosted on Acast. See acast.com/privacy for more information.

...more
View all episodesView all episodes
Download on the App Store

ConTejas CodeBy Tejas Kumar

  • 5
  • 5
  • 5
  • 5
  • 5

5

8 ratings


More shows like ConTejas Code

View all
Hanselminutes with Scott Hanselman by Scott Hanselman

Hanselminutes with Scott Hanselman

377 Listeners

Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

Software Engineering Radio - the podcast for professional software developers

273 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

285 Listeners

The Twenty Minute VC (20VC): Venture Capital | Startup Funding | The Pitch by Harry Stebbings

The Twenty Minute VC (20VC): Venture Capital | Startup Funding | The Pitch

508 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

631 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

275 Listeners

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

Syntax - Tasty Web Development Treats

989 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

7,844 Listeners

Practical AI by Practical AI LLC

Practical AI

187 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

63 Listeners

Last Week in AI by Skynet Today

Last Week in AI

282 Listeners

Dwarkesh Podcast by Dwarkesh Patel

Dwarkesh Podcast

354 Listeners

Latent Space: The AI Engineer Podcast by swyx + Alessio

Latent Space: The AI Engineer Podcast

65 Listeners

The AI Daily Brief (Formerly The AI Breakdown): Artificial Intelligence News and Analysis by Nathaniel Whittemore

The AI Daily Brief (Formerly The AI Breakdown): Artificial Intelligence News and Analysis

428 Listeners

AI + a16z by a16z

AI + a16z

32 Listeners