I'm sure that there are tons of sites using webfonts in a way such that load time isn't visually compromised. However, I've seen the "font flip" at sites such as nytimes.com which I assume pay great attention to performance.
Since then, I've worked with some truly excellent designers. They're people who are great at design, but know very little about the web, so they tend to bring some of the more 'traditional' design concepts with them.
I've seen that the difference in feeling/perception a font can convey for your message when used well is much more significant than I ever would have presumed.
Simply put, there is an aspect of your message that cannot be conveyed with fonts that are available across every device and operating system. (What... Arial, Verdana, Georgia and Times New Roman?).
I still don't necessarily grasp the difference between, say, "Proxima Nova" and "Montserrat" (Google Web Font), but at this point I'm a little more willing to trust the designer.
I would prefer to have them disabled completely, but didn't find an easy way to achieve this.
Afaik only Firefox chooses to change fonts later.
For example, TypeKit adds a .wf-loading class to the <html> element immediately, begins loading the font asynchronously so as not to block page rendering, and then removes that class once the font has loaded. So, if you're loading a TypeKit font for your H2 elements, you could use CSS like .wf-loading h2 { visibility: hidden; } to hide those headings until their font is available.
If you don't take advantage of the loading class, that's when you see a basic font at first and then see a visible change from the basic font to a web font.
Unfortunately, the only way to avoid either outcome is to load the font synchronously in the head of the page, which blocks the page from loading or rendering further until the font loads and is generally unacceptable for most sites.
The average doesn't really tell much of a story, since there's a lower bound at 0MB but no real upper bound. My guess would be that a certain subset of sites have gotten a lot bigger and pulled the average up, while the remainder have seen more modest growth.
Anecdotally, it definitely seems like news sites and blogs have seen a pretty staggering increase in page weight in the past few years. It's not uncommon to see a ridiculous number of resources loaded from 30+ domains on a single site anymore (CNN.com, I'm looking at you).
Just a thought, but the total size of assets on the page ignores the use of caches and CDNs for common assets - if I visit 100 websites that all use Google's CDN to deliver jQuery I'll download a few hundred kbs and do 99 HTTP requests that return just a "nothing changed" header. The fact that those 100 websites are all a few hundred kb bigger than they were a few years ago means very little.
If I visit the same website every day for 100 days straight I'll probably only download jQuery once even if it's hosting the file itself because of my browser cache.
Obviously it's preferable if a site optimises things where it can, but I don't think a 150% increase in total page size equates directly to a 150% increase in data usage. It might for archive.org, but they're pretty atypical web users.
tl;dr Overall page size is less important than setting caching headers properly.
<link rel="stylesheet" hash="b6792c2dcaafc7678f18236f6e7289152756a14f" href="...."></link>
Now that I look at it.. where do we suggest this to the web people?- faster for people in different geographic areas
- at least as reliable as your infrastructure
- already cached (this would be nullified by your proposal)
I ask because normally I wouldn't think twice about using the Google CDN libraries.
http://www.yuiblog.com/blog/2007/01/04/performance-research-...
Actually we do download most of them. Browser caches are mostly useless for most of the stuff, including widely use JS frameworks and fonts. There were a few widely circulated articles on this.
Sidenote: I found out about kraken.io on HN a while ago. I use it for all my images now. Usually gets at least 5% reduction on a well created picture, and 50%+ on a bad one. (No affiliate, just like it)
Mark minified js & CSS with a file hash in the path or query string & serve a far future expires header. Browser won't even 304 it and serve straight from local cache.
Much of this is being driven by mobile devices forcing users to become used to scrolling anyways, may as well take advantage of that.
For mobile surfing, I'm much happier with one large slow page than trying to navigate a bunch of smaller sub pages, each of which is also slow and hard to get to.
- Median would be nice to have as well, as it is more robust to outliers.
- I would like to know whether this is driven by big new pages receiving many visits (changes in user behaviour), or by existing pages becoming bigger over time (changes in web practices).
Nowadays with the proliferation of JS MV*, Node on the server-side, HTML5 games in JS, much of the focus and attention has been about how to find better performance in our JS code, how to more efficiently deal with the DOM and re-paints, how to get JS to a state where we can have a lot more complex games inside the browser. Also has to do with the nature of putting everyone on the client-side and the increased amounts of libraries being used (many of which are probably in the user's browser cache already).
That said, I'm not sure if it's the change in focus alone, or if it's also because many of the new-er web developers haven't yet been working for the web back when the discussion was about page-loads and when people cared more about supporting legacy-legacy-legacy browsers (I'm glad we're slowly letting that go...).
Regarding web fonts, well I guess it has to do with our obsession with pretty apps and thus, pretty fonts too.
* It's not all about raw data amounts. Sure, images are the biggest share of traffic, but their size "only" doubled in the last 3y (according to my eyeing the article's chart).
* On the other hand, scripts seem to have tripled or quadrupled in size.
* The "Other" content also looks significant enough to warrant a deeper look, since it currently seems to be bigger than Flash, HTML and CSS combined, and has also grown most significantly. What's this "Other" content, and in what amounts? Web fonts? XML? JSON?
* The pie chart under #2 of the article is horrible.
* How do CDNs and caching factor into all this? How much of the shown amounts must really be downloaded every time?
If they are getting slower than us web developers are doing it wrong.
In the current market, you're supposed to upgrade your laptop every 3-4 years anyway.
For anything that's not 1998 level technology though, you'll want something new after 3-4 years.
Stuff such as: video editing, digital audio, photography, multimedia etc (oh, and games). Even casually editing 24 megapixel RAW images as a hobbyist is not that comfortable, even with a state of the art machine.
The average is for only the top 1,000 sites.
I expected a large scale study of the Web. The top 1,000 sites are a very poor representation for the wider Web.
Also, you can't post the page to Google+ and have the image show in the post or post a link to the image direct etc.
I only noticed because I couldn't post it.
If I am not mistaken, the cost of wholesale bandwidth continues to drop at a near exponential rate year after year.
What does that have to do with anything? Things are not getting bigger because of UX needs, they are getting bigger contrary to UX needs. They are getting bigger because marketing weasels have always wanted things to be this bloated and shitty, and now they think everyone has high bandwidth, low latency connectivity so they can force designers to do it now.