Z
Zoompf Blog
zoompf.com · Company blog · on HN since 2010
Zoompf's company blog on web performance, covering CDNs, image formats, SPDY, SSL weaknesses and JavaScript engines.
What HN saysHN cites its post questioning JavaScript library CDNs as one of the best discussions of the topic, though one commenter faults its image comparison.
22HN people shared it
8linked it in comments
19stories submitted
219story points
5 years agolast shared
2010people per year2026
Most-shared posts
- 1Should you use JavaScript library CDNs?6 people · 1 points · first shared 2010 · discussion on HN
- 2Optimizing Favicons2 people · 5 points · first shared 2012 · discussion on HN
- 3Apple's Nitro JavaScript Engine Available To All Apps2 people · 4 points · first shared 2014 · 2 comments on HN
- 4Zoompf: Finding the slow to make you fast2 people · 2 points · first shared 2010 · discussion on HN
- 5Explaining the CRIME weakness in SPDY and SSL2 people · 1 points · first shared 2012 · discussion on HN
- 6How fast is apple.com?1 people · 81 points · first shared 2012 · 71 comments on HN
- 7Facebook Adds SPDY Support1 people · 70 points · first shared 2013 · 27 comments on HN
- 8Html5shiv and Serving Content From Code Repositories1 people · 35 points · first shared 2012 · 8 comments on HN
- 9REDbot: Awesome HTTP Testing1 people · 3 points · first shared 2011 · discussion on HN
- 10I Doubled the Speed of Our Product with Multiple Row Inserts1 people · 3 points · first shared 2015 · discussion on HN
- 11Top PNG Optimizers Don’t Use zlib1 people · 3 points · first shared 2010 · discussion on HN
- 12SPDY Is Dead. Long Live HTTP/21 people · 3 points · first shared 2015 · discussion on HN
- 13Optimizing GIF Images1 people · 2 points · first shared 2012 · discussion on HN
- 14Gradient image to CSS31 people · 2 points · first shared 2011 · discussion on HN
- 15Determining someone's name from their email address1 people · 1 points · first shared 2015 · discussion on HN
What HN people wrote when they linked it
jrosoff · 2010-10-21
Cool! There are a bunch of external monitoring services that are worth checking out in addition to this..
- http://www.yottaa.com (shameless plug for my own company)
- http://www.webpagetest.org
- http://www.zoompf.com
- http://www.showslow.com
lelandfe · 2022-03-05
It's for the best. Cache partitioning solves a browser history leak described in Timing Attacks on Web Privacy[0]
The permutations of different CDNs and asset versions meant the cache hit rate was low anyway.[1][2]
[0] https://www.cs.umd.edu/~jkatz/TEACHING/comp_sec_F04/downloads/web-timi… (PDF)
[1] https://zoompf.com/blog/2010/01/should-you-use-javascript-library-cdns…
[2] https://web.archive.org/web/20111123170325/http://statichtml.com/2011/…
lucideer · 2014-06-27
They are generally recommended, though are also the occasional arguments against the use of CDNs http://zoompf.com/blog/2010/01/should-you-use-javascript-library-cdns
paulirish · 2011-05-06
> I'm going to guess that, on average, it'll download faster from Google CDN than from my server.
Not really a safe assumption, it turns out.
http://zoompf.com/blog/2010/01/should-you-use-javascript-library-cdns has one of the best discussions of the topic.
> I see a chicken and egg thing here, to be on Google CDN you need millions of hits, yet being on Google CDN might help you reach that goal.
I don't think that's legit.. If one of your primary criteria on whether to use a given javascript library is it's CDN availability.. you're probably not choosing your tools well.
At the same time, I know I prefer to grab a CDN hosted script when starting a project then the downloading rigamarole. But that is like just general development momentum issue rather than a tooling decision.
billyhoffman · 2014-08-22
There are 2 huge problems with this blog post.
First, the source image is a photograph, saved as a PNG24 file! They then show how JPEG XR and WebP file sizes compare.
This is a worthless comparison. Spoiler alert: the lossless PNG24 isn't very good are storing photographic data, because its not designed to.
Had imgix known how to do a proper image comparison study, they would haved used a PNG24, generate a normal, non-progressive JPEG, at the "Save for web" quality setting of 70. That's you baseline. They should then generate the JPEG XR, WebP, and Progressive JPEG off the source PNG24, and compare those sizes to the size of the baseline, regular quality 70 JPEG.
I have seen great performance benefits from using WebP where it makes sense, and I discuss them in this video about Warby Parker [0]. But the imgix guys are going about this the wrong way to explain the benefits.
Second, the use of Content Negotiation is a terrible idea as well. You don't want to serve different file types from the same URL. Because then, the web server uses the Accept header, and potentially the User-Agent header, to determine the response. This means it must send a Vary: Accept or Vary:Accept, User-Agent header in this response, which renders the response essentially uncachable for shared cached. I discuss this problem here [1], but in the context of the User-Agent header.
Its clear the imgix is trying to help people, which is awesome. But its also clear from their advice and analysis they…
dkopi · 2016-04-22
The problem with hosting JS libraries on CDNs is that the cache has a network effect.
You only gain performance if the browser already has a cached version of this specific version on this specific CDN.
If you don't - you end up losing performance, because now an additional DNS lookup needs to be performed, and an additional TCP connection needs to be opened.
Here are a few reasons people choose to avoid CDNized versions of JS libraries.
http://www.sitepoint.com/7-reasons-not-to-use-a-cdn/
This is a 6 year old post, but it raises some valid concerns:
https://zoompf.com/blog/2010/01/should-you-use-javascript-library-cdns
tantalor · 2015-07-02
This approach requires iOS 8 specifically because previously apps using WebView used a different, slower JavaScript engine,
with iOS 8, apps using the embedded web browser control, WKWebView, will gain full access to the powerful Nitro JavaScript engine
https://zoompf.com/blog/2014/06/apples-nitro-javascript-engine-availab…
Looks like Android KitKat did the same with a similar performance boost,
Since Android 4.4 the WebView is backed by Chromium and not by it’s own rendering engine anymore
https://www.timroes.de/2013/11/23/old-webview-vs-chromium-webview/
seldo · 2013-08-01
The attack builds on the CRIME attack, which is discussed in more technical detail here:
http://zoompf.com/2012/09/explaining-the-crime-weakness-in-spdy-and-ss…
That page suggests that guessing known text like an SSN or email address contained in the body would give them an opening to break the encryption entirely, but I don't know enough about crypto to know if that's actually a possibility.