Top all-time · #21344
stucox.com
Personal blog · stucox.com/blogwebdesign
stucox.com is a personal blog at stucox.com about web and design. Since 2013, 3 different Hacker News readers have linked it 7 times, most often “Client-Side vs Server-Side Detection for WebP”. No feed was found, so read it on the site itself.
Too few sampled comments (1) to say how often HN recommends it.?
Why HN links it
Linked in a thread on parsing user agents, where a commenter discusses the post's claim that feature detection is slow and points to a related post on using WebP with Modernizr.
Summarised by Claude from a sample of 1 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Client-Side vs Server-Side Detection for WebP2 people · 2 mentions · first linked 2013-06-07
What Hacker News says?
The author dismisses feature detection as being "slow", but it's much less error prone: http://www.stucox.com/blog/using-webp-with-modernizr/ You can just cache the result in localStorage; you take a few-millisecond hit once. Here's how the feature detection is done: https://github.com/Modernizr/Modernizr/blob/924c7611c170ef2d... HOWEVER , in this case (webp), it's likely better to detect it on the server: https://g…
Comment linking /blog/client-side-vs-server-side-detection-for-webp/
on “Why Parse the User Agent?”Submitted You can't detect a touchscreen as a story · 58 points
HN discussionSubmitted Client-Side vs Server-Side Detection for WebP as a story · 2 points
HN discussionSubmitted Show HN: Single-Request SVG Fallback via Progressive Enhancement as a story · 2 points
HN discussionSubmitted "Mobile" Is Meaningless as a story · 1 points
HN discussionSubmitted The Good & Bad of Level 4 Media Queries as a story · 1 points
HN discussion