3 ms·
More often than not I feel these decisions are out of the developers hands. As a dev, I want to use tree shaking to make my bundles small and optimize to make
by kisamoto 5y ago
More often than not I feel these decisions are out of the developers hands.
As a dev, I want to use tree shaking to make my bundles small and optimize to make my website lighthouse score 100 across the board.
What happens? Marketing needs tag manager installed and then proceeds to async load 50 tracking scripts in the background.
Design wants the large hero images because on the high Res devices they use it looks slightly pixelated and when you push back, a quick screenshot to the PM will guarantee the ticket is added to the backlog.
Point being I'm not sure claiming that Devs hold the power is particularly constructive as there is a large portion on non-techies who have their own priorities to push.
- Dylan16807 5y agoWe need to figure out a better way to manage images that have multiple qualities. Something that can take connection into account.
- 5e92cb50239222b 5y agohttps://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimed... No?
- thundermuffin 5y agoI've had the exact situation kisamoto is talking about happen to me countless times, and I can probably count on one hand the amount of times I've won the battle over images. Sadly, the folks calling the shots on what images to use and exactly how they need to look do not care that I'm using responsive imagery to serve images to our users with appropriate file sizes, reasonable resolutions, and ensure crops have editor selected focal points. When I say these folks get upset over slight pixelization, I'm not even talking about pixelization where everyone can tell it's a low quality image. I'm talking about situations where people are upset they can't read an iPhone screen someone is holding in the background when they are viewing it on their 4K display (note: that particular phone isn't the focal point of the shot, nor does it have anything to add to it; it's just someone staged back there to make the shot feel more alive, mind you!). It's disheartening because I do want to deliver the best experience possible and try to do everything in my power to accomplish it, but sometimes I lose out and folks force their megabyte imagery.