Baldur Bjarnason
“Adactio: Links—Conditional JavaScript - JavaScript - Dev Tips” adactio.com/links/17707
This is a good round-up of APIs you can use to decide if and how much JavaScript to load. I might look into using storage.estimate()
in service workers to figure out how much gets pre-cached.
“Adactio: Links—Conditional JavaScript - JavaScript - Dev Tips” adactio.com/links/17707
A really interesting proposal for more logic constructs in CSS: when/else conditions. At first glance, this looks like it would complicate the language (and one of the most powerful features of CSS is its simplicity), but when you dig a bit deeper you realise that there’s nothing new enabled by this extra syntax—it actually simplifies what’s already possible.
Scott walks through the code and thinking behind the conditional loading pattern on The Boston Globe site. This is such a useful and valuable pattern!
What Trys describes here mirrors my experience too—it really is worth occasionally taking a little time to catch the low-hanging fruit of your site’s web performance (and accessibility):
I’ve shaved nearly half a megabyte off the page size and improved the accessibility along the way. Not bad for an evening of tinkering.
A no-nonsense checklist of good performance advice from Karolina.
This is very convincing.
Conditional loading is a great technique for responsive designs but we need a better way of communicating between CSS and JavaScript.
How I switched to high-resolution maps on The Session without degrading performance.
Fear of a third-party planet.
Don’t replace. Augment.
Improving performance on The Session.