I like the conversation about web performance, but you should make sure you practice what you preach
I like the conversation about web performance, but you should make sure you practice what you preach
I just measured it on my mbp and "720px" is actually... 1440 physical pixels. I was surprised too!
But is such a high resolution really needed?
I'd say the author is practicing what he preaches, the JS is just 4,6 kB. There is some optimizations [1][2][3] that can be done to the images but I wouldn't fully disqualify the article because of that. The websocket connection is kinda odd though, I tried reading the code but didn't fully catch the purpose, it just says something about pointers.
[1] https://www.youtube.com/watch?v=uqmgQB5Gyfo [2] https://www.youtube.com/watch?v=uqmgQB5Gyfo [3] https://www.youtube.com/watch?v=hJ7Rg1821Q0