HN user

csswizardry

903 karma

* Consultant Web Performance Engineer * Google Developer Expert * csswizardry.com * @csswizardry

![](https://csswizardry.com/img/css/masthead-small.jpg_ — csswizardry.at.hn

--- meet.hn/city/gb-Leeds

Socials: - csswizardry.at.hn - bsky.app/profile/csswizardry.com - github.com/csswizardry - instagram.com/csswizardry - linkedin.com/in/csswizardry - csswizardry.com - x.com/csswizardry ---

Posts22
Comments129
View on HN
beclamide.medium.com 1y ago

Advanced Realtime Glass Refraction Simulation with WebGL (2017)

csswizardry
1pts1
csswizardry.com 1y ago

What happens when you hit your browser's refresh button?

csswizardry
2pts1
en.wikipedia.org 2y ago

HTTP 451

csswizardry
1pts1
csswizardry.com 3y ago

Measure What You Impact, Not What You Influence

csswizardry
1pts0
slowfil.es 5y ago

Show HN: Slowfil.es – Demonstate and observe slow-loading resources

csswizardry
1pts0
csswizardry.com 6y ago

Making Cloud.typography Faster

csswizardry
79pts21
csswizardry.com 8y ago

Airplanes and Ashtrays

csswizardry
1pts0
csswizardry.com 9y ago

Refactoring Tunnels

csswizardry
1pts0
csswizardry.com 9y ago

Little Things I Like to Do with Git

csswizardry
656pts103
news.ycombinator.com 9y ago

Ask HN: Where do you live?

csswizardry
4pts12
github.com 12y ago

CSSCV – format your CV like a CSS file

csswizardry
1pts1
github.com 13y ago

Show HN: csswizardry-grids—Simple, ‘semantic’, nestable, responsive grid system

csswizardry
3pts3
csswizardry.com 13y ago

Responsive grid systems; a solution?

csswizardry
2pts0
news.ycombinator.com 13y ago

Ask HN: *Absolute beginners* guide to JavaScript

csswizardry
1pts3
inuitcss.com 13y ago

Show HN: inuit.css—lightweight, Sass-based, OOCSS framework

csswizardry
14pts15
faavorite.com 14y ago

Show HN: We made an app for managing your Twitter favorites

csswizardry
24pts16
csswizardry.com 14y ago

My CSS guidelines didn’t sit too well with some… here’s a rebuttal

csswizardry
11pts3
github.com 14y ago

Show HN: I decided to document and share my high-level CSS best practices

csswizardry
223pts86
csswizardry.com 14y ago

Pragmatic, practical font sizing in CSS

csswizardry
19pts5
csswizardry.com 14y ago

Measuring and sizing UIs, 2011-style

csswizardry
1pts0
dl.dropbox.com 14y ago

Pure CSS *fluid* content slider

csswizardry
2pts0
csswizardry.com 15y ago

Namespacing fragment identifiers

csswizardry
1pts0

Complete side note: I’m on public wifi right now and the domain used to host the images in this article is, for some reason, blocked. But as the author (or whatever tool was used to generate the article) has taken time to write decent `alt` text, I can still get a good idea of what is going on. Kudos.

Show HN: CSS Extras 9 months ago

I used to share this sentiment (and I’m a web performance consultant by profession so very few people care about performance as much as me!), but when you consider how much calculation we _happily_ let our JS do at runtime, I don’t think forcing CSS to be static/preprocessed is worth it. And that’s not even me taking a swipe at overly-JSsed front-end; I’m talking about any runtime work that JS picks up.

Is preprocessed CSS faster? Yes. Is it meaningfully faster? Probably not.

A firm here in my city once got all of their signage printed and installed _before_ securing the social media handles they’d put on them. The Instagram username they’d opted for was actually literally impossible to register as it contained a special character. That was about six years ago. The signs are still up.

Point 13, ironically, reminds me of one of the best bits of writing[1] I ever did. I somehow lost an entire near-complete draft[2] of an article, so I had to write it again from scratch. It came out much, much better than the original.

1. https://csswizardry.com/archive/

2. A fact I am embarrassed to admit in present company. I still can’t remember how it happened.

My guess, as someone who doesn’t know the answer but works closely in this field, is that the potential downside (i.e. privacy/security) was much greater than the actualised benefit (i.e. performance).

Safari (who make a big deal about being privacy-conscious) was the first to introduce cache partitioning, looking into it as far back as 2013[1]; Chrome followed in 2020 and Firefox in 2021[3]. One thing I know, anecdotally, to be a strong motivator among browser vendors is ‘X is doing it, why aren’t we?’

1. https://bugs.webkit.org/show_bug.cgi?id=110269

2. https://developer.chrome.com/blog/http-cache-partitioning

3. https://blog.mozilla.org/security/2021/01/26/supercookie-pro...

I vividly remember this happening. Firstly, because I was an affected customer and I had to cancel all of my debit/credit cards days before a two-week work trip to SF, but secondly…

I was approached by BA to tender for a web performance project. I was excited because, at the time, I had Gold status with BA and I used the site on a weekly basis—I knew exactly where and why it was slow simply through using it so much!

The RFP deadline was short—really short. So, I spent the bulk of a vacation in Croatia writing up my proposal. When I was meant to be lounging by the pool or chugging Malvasia, I was buried in my laptop putting together my pitch. I got it done in time, fired it over, only to be told ‘we are focusing on web security now; this project is on hold’. Then, a few days later, the news broke.

Hugely instrumental in my career. Landed me my first ever job (2008) and has been responsible for underpinning most of my consultancy career (2013–now): https://csswizardry.com/

As long as one sticks with it, I cannot overstate the power of a good personal website.

Also I can't decide what to write about, and whether to make it more nerdy or more professional.

As with most decisions, just make one. You can always change your mind later.

All three of your points are correct, so please don’t resent my response: Client-side A/B testing exists because ‘we should be able to do this without a deploy’. And they’re right.

Tenets 2 years ago

Off-topic, but Meoweler is a goldmine—thank you!

As a Brit, ‘jaywalking’ is so alien to me. I once jaywalked in front of a police car who stopped and waved/signalled me across the road! Whenever I’m overseas, crossing anywhere when the road is clear is second nature to me and I have to remind myself not to. Conversely, you can always spot a foreigner in the UK: they’re the ones waiting for the signal at a deserted crossing at 2am.