News for hackers. Stuff that matters.
Re:Image optimization decreased website's page weight by 62% by mimischi on Monday July 16, 2018 @11:22AM (#17541981)
No need to do on-demand scaling via JavaScript either! The srcset attribute is also available in <img> tags and lets you define differently sized images for different viewports: https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimed...

There are no comments on this comment yet.