TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

The irony of Apple homepage and Safari WebP support

72 点作者 v3nom大约 5 年前

20 条评论

jws大约 5 年前
That is to save 146KB on one image an 99KB on another, to save 2 seconds you&#x27;d have to using a 1mbps connection.<p>The first random internet article I pulled for real world cellular speeds suggests even unwired, people are getting 30mbps so that changes the article to:<p><i>Apple could load 66ms faster by adopting WebP</i><p>… but these are cached resources, so maybe…<p><i>Apple could perform the initial load 66ms faster by adopting WebP</i><p>… would be better.<p>Looking at the assets needed for an initial load, the fonts alone weigh in at about twice those images, so it probably wouldn&#x27;t be noticeable.
评论 #22908158 未加载
评论 #22908646 未加载
评论 #22911049 未加载
评论 #22908136 未加载
评论 #22908643 未加载
xenonite大约 5 年前
This is only one half of the story. Given the increased network bandwidth, decoding speed matters. And here, JPEG is much faster. Also note that the JPEG decompression algorithms are highly optimized and coded in assembly language, and there are maybe even hardware decoders.<p>On android:<p>WebP 66% less file size than JPG, 267% more time to decode.<p>WebP 38% less file size than JPG, 258% more time to decode.<p>WebP 89% less file size than JPG, 319% more time to decode.<p><a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;37812950&#x2F;jpg-vs-webp-performance-on-android" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;37812950&#x2F;jpg-vs-webp-per...</a>
评论 #22910446 未加载
isoprophlex大约 5 年前
Firstly, i don&#x27;t get what apple has to gain by not supporting webp... Nevertheless:<p>The screenshot puzzles me, it shows two assets, and states that compressing these by an extra ~ 250 kb would save 2 seconds. Maybe on very slow connections?<p>Also<p>&gt; Lack of proper support for [...] web notifications on mobile<p>I can do without these i guess
评论 #22907925 未加载
评论 #22908139 未加载
评论 #22912537 未加载
jakub_g大约 5 年前
Note that it&#x27;s not only Apple who&#x27;s been slow to adopt WebP. Mozilla was pretty skeptical for many years and only implemented this ~a year ago (instead they did a lot of improvements to JPEG encoders in the meantime).<p>At this point I&#x27;d be more interesting in Safari supporting AVIF, though for compat reasons WebP would be nice to have as well.<p>I&#x27;m not defending Apple, but I think the issue is that if Apple implements a new file format, it has to work reliably <i>across whole Apple ecosystem</i> (OS, image editing programs), not only in the browser. This is probably a huge undertaking. You don&#x27;t want to download a picture and then your image viewer not being able to open it.
kijin大约 5 年前
I get the argument, but the estimated savings are bogus.<p>All the images on the mobile version of apple.com add up to a grand total of 500KB. If reducing their sizes by ~40% (that is, 200KB) would save 2.25s, it means the whole page (just over 3.5MB) currently takes 40 seconds to load. But obviously nobody in the developed world is waiting 40 seconds for apple.com to load. The real savings are probably somewhere between 0.05s and 0.5s depending on network conditions. Not insignificant, but much less than what is promised.<p>If you really wanted to minimize the time it takes to load apple.com, you should start with the 10 scripts, 7 stylesheets, and 9 webfonts that together make up over 80% of the page size and consume a considerable amount of resources to parse and execute. But the benchmark doesn&#x27;t tell you that. It&#x27;s just a checklist of micro-optimizations that doesn&#x27;t even start with realistic assumptions.
gardaani大约 5 年前
I&#x27;m happy that Apple hasn&#x27;t adopted WebP. JPEG XL and AVIF are better formats. Even Google is considering creating WebP2. WebP is already an outdated format (no HDR support), which should just die.
评论 #22908200 未加载
mojuba大约 5 年前
At the expense of quality, at least it was Apple&#x27;s argument against supporting webp.<p>And no, they didn&#x27;t ignore it, it was included in one of the previous betas of macOS and iOS and removed later. Don&#x27;t remember which.
评论 #22907902 未加载
评论 #22907930 未加载
评论 #22908138 未加载
ksec大约 5 年前
Apple doesn&#x27;t even support their own HEIF on Safari. Why would one expect them to support WebP? Not to mention the gain on WebP is actually relatively small. JPEG, despite its age is still getting encoder improvement.<p>You would have expected or assumed nearly 30 years since the introduction of JPEG, we could compress an image at 0.5 bpp ( bit per pixel ) that has higher quality than the best JPEG with 1.0 bpp.<p>It turns out that is still not the case, Not with WebP, AVIF is closer but still not there. Just like in Audio, Despite all the marketing claims about mp3pro, HE-AAC... etc having mp3 128kbps quality at half the bitrate. It took us nearly 30 years to get an Audio Codec that sounds better than the best mp3 encoder at lower than 128Kbps bitrate. And that was Opus at 96Kbps. ( At this point no body cares about those bitrate savings any more )<p>That is not to say image compression aren&#x27;t improving. [1] Is an 4K image compressed by the next generation VVC <i>Reference</i> Encoder at 350KB.<p>[1] <a href="https:&#x2F;&#x2F;imgsli.com&#x2F;MTI1NDA" rel="nofollow">https:&#x2F;&#x2F;imgsli.com&#x2F;MTI1NDA</a>
aeonflux大约 5 年前
Could anyone one please tell me what is the purpose of the Web Notifications, other than invasive marketing.
评论 #22908287 未加载
评论 #22908262 未加载
评论 #22908259 未加载
评论 #22908590 未加载
评论 #22911580 未加载
评论 #22908264 未加载
rmsaksida大约 5 年前
&gt; The irony comes from the fact that Apple decided not to add WebP support to the Safari browser<p>I don&#x27;t get it. Why is this ironic? Did Apple create the performance optimisation tool that suggested WebP?
评论 #22908308 未加载
ezoe大约 5 年前
&quot;Apple can save the load time if they use the WebP&quot;<p>Says the writer who use jpeg on his article.
评论 #22908448 未加载
评论 #22908181 未加载
tbolt大约 5 年前
Could this be related to non-network performance? The WebKit team seems very conservative in adding features to preserve&#x2F;balance CPU usage and Battery Consumption. Which I generally applaud them for.
评论 #22908520 未加载
hmottestad大约 5 年前
Apple.com loads in around 1 to 1.5 seconds on either of my phone or my macbook. This is on wifi though, I guess the article presumes 4g.
olah_1大约 5 年前
The webp issue is truly infuriating. I&#x27;d like to support it in my own websites, but I literally can&#x27;t since a huge chunk of visitors use Safari.<p>The only hope seems to be mobile linux initiatives like PinePhone, etc. But I&#x27;m not holding my breath.
评论 #22907971 未加载
评论 #22907954 未加载
评论 #22907953 未加载
评论 #22908070 未加载
fortran77大约 5 年前
1. Apple&#x27;s users won&#x27;t care. The ones who know about &quot;WebP&quot; will explain it away by claiming &quot;Apple rejected it because it doesn&#x27;t meet their high quality standards. The page looks more beautiful this way; WebP will drain the battery; WebP isn&#x27;t secure; etc.&quot;<p>2. I&#x27;m pretty sure this isn&#x27;t &quot;irony.&quot; <a href="https:&#x2F;&#x2F;www.dictionary.com&#x2F;browse&#x2F;irony?s=t" rel="nofollow">https:&#x2F;&#x2F;www.dictionary.com&#x2F;browse&#x2F;irony?s=t</a>
CharlesW大约 5 年前
As an experiment I grabbed all the images from v&#x2F;home&#x2F;f&#x2F;images&#x2F;iphone-takeover.<p>Originals: 584 KB for 18 files. After running them through ImageOptim: 353 KB.<p>So, I made the images ~40% smaller on average just by running everything through a JPEG optimizer.<p>When you compare that to the ~50% average reduction the author saw for two of the images, it makes WebP seem even less interesting.
jakejarvis大约 5 年前
Their stubbornness around WebM is even more frustrating to me, honestly.
baybal2大约 5 年前
Protip: if you are still hellbent on using huge picture with transparency, you can use two JPG files one original, and one as an alpha mask.
htk大约 5 年前
Is this utility comparing to the same resulting quality?
recursive大约 5 年前
At this point, I don&#x27;t think it&#x27;s too fringey a conspiracy theory that Apple is opposed to the advancement of web technology, while trying to plausibly appear to be in favor of it. Their motive would be obvious. Keep the native app experience superior.
评论 #22908017 未加载
评论 #22908119 未加载
评论 #22907895 未加载
评论 #22907972 未加载