Essential Image Optimization: my new eBook on image best practices! 

Read online:https://images.guide
-
-
Until a site spends less than 5s processing JS on the mobile hardware you're targeting, I'd say focus on addressing that. It's nuanced.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I've seen plenty of pages where a small time investment (30m) could shave MBs off in image bloat, but JS dominates main thread usage.
-
So if you're using a library that runs for more than 5s on target mobile hardware, switch to vanilla.js before worrying about images?
-
Everyone should identify their largest bottlenecks, stack rank based on importance to users and focus on what matters. In many cases, its JS
-
I'd think features might sometimes matter more than reducing JS time.
-
It seems like optimizing images could be treated like JS minification, since you can do it w/o changing architecture.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.