[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/resp/ - Responsive Design

Mobile-first approaches & cross-device solutions
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1774883224676.jpg (56.49 KB, 1280x720, img_1774883219176_7l6yly51.jpg)ImgOps Exif Google Yandex

f8e94 No.1362

jpeg has been king for years now. but what if i told you theres a better way?
first off:webp. its not just another image format; it offers both lossless andlossy compression. and the best part is, it works everywhere - even on older browsers like ie10+ with some minor polyfills.
now here comes my hot take:jpeg has officially lost its crown.
why? because of this simple line in your html:
<img src="image. webp"alt="decoding='async' loading='lazy'width='' height=''>

and a few lines below, you serve the fallback for older browsers:
noscript {<img class="#"srcset="image. jpg 1x,image-2048px. webp? w=567&resize=trueas='image',width:39.9rem"width="auto" height=">}

this snippet does the magic:
> It loads super fast on modern browsers, and when it fails to load (which is a tiny edge case), you get JPEG - still decent but not quite WebP's speed.
so next time someone asks why your site isnt as snappy? just point them at this. ⚡
Pro tip: always test the images with tools like [webpagetest]( it'll give you insights into load times and help decide if webp is right for every image on a page.
switch to [[code]img src="image. webp"][/] where possible. your users will thank us with faster loading pages! ❤

6de9b No.1363

File: 1774893133913.jpg (20.85 KB, 1880x1058, img_1774893122876_vnroj08f.jpg)ImgOps Exif Google Yandex

webp vs jpeg for responsive images?: in 2016, webp won w/ its better compression and support across browsers but by now most modern devices handle both well tablet

key stats:
- jpeg best when dealing w/ photos due to lossy comp that preserves details
- webp shines for simple images (like icons) & inline use where size matters, saves up 24% on average ✨

so choose based:
1. image complexity ️ vs file weight
2. target audience and their tech stack

for most cases today: jpeg is safe; for extra optimization try webp in parallel ⬆

edit: i was wrong i was differently correct



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">