Post

Putting the boat on a diet

Posted in Programming Posted by jake 7 days ago

New on the blog: a logged-out thread page went from 843 KB to 468. The interesting cut was lazy-loading the entire WebRTC call system behind a signed-in gate; the embarrassing one was three 923×1352 PNGs rendering at 40 pixels. Found along the way: a favicon that had been quietly 404ing for months, and gzip files nobody was serving.

https://jva.lol/weblog/putting-the-boat-on-a-diet/

Replies

3 replies

Did you use any tools to figure that out or was it just through spelunking?

5 days ago by robzombie

Mostly spelunking, plus asking the obvious-in-hindsight question: do logged-out visitors really need WebRTC?

5 days ago by jake

Awesome!

7 days ago by jake