Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
csswizardry
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
csswizardry
3y ago
Off-topic, but Meoweler is a goldmine—thank you!
32.
▲
HTTP 451
(en.wikipedia.org)
1 points
by
csswizardry
3y ago
|
1 comments
33.
▲
by
csswizardry
3y ago
Noticed that https://wozniak.ca/blog/2024/01/02/1/index.html (on the HN hompeage as I write this) was serving a 451 response, which I’ve never seen before.
34.
▲
by
csswizardry
3y ago
> No mentioning of semantic tags. Yes, because it’s an article about attributes…
35.
▲
by
csswizardry
3y ago
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
36.
▲
by
csswizardry
3y ago
Fixed link: https://twitter.com/x
37.
▲
by
csswizardry
3y ago
Thanks! The plan is to update the post as new facts, figures, and information become available.
38.
▲
by
csswizardry
3y ago
I’m very late to the party, but I wrote about this back in early 2016! https://csswizardry.com/2016/02/mixins-better-for-performanc...
39.
▲
by
csswizardry
4y ago
https://csswizardry.com/2014/01/use-zero-width-spaces-to-sto...
40.
▲
Measure What You Impact, Not What You Influence
(csswizardry.com)
1 points
by
csswizardry
4y ago
|
0 comments
41.
▲
by
csswizardry
5y ago
A lot of things aren’t necessary.
42.
▲
by
csswizardry
6y ago
Thank you!
43.
▲
by
csswizardry
6y ago
> …and faster response times across the globe, right? Unfortunately not. There is no benefit to leaving your critical files on anyone else’s infrastructure: https://csswizardry.com/2019/05/self-host-your-static-
44.
▲
by
csswizardry
6y ago
As someone who’s at the frustrating intersection of fascinated and clueless, what are the implications of a blood sugar spike and are they bad? Is the problem the absolute amount of blood sugar or is it the sudden change in blood sugar leve
45.
▲
Show HN: Slowfil.es – Demonstate and observe slow-loading resources
(slowfil.es)
1 points
by
csswizardry
6y ago
|
0 comments
46.
▲
by
csswizardry
6y ago
About to release this fix now.
47.
▲
by
csswizardry
6y ago
> I don’t believe it’s technically correct to characterise stylesheets as render-blocking… But they are. There’s absolutely no question about that. A browser will only render in the absence of a stylesheet if a) there’s programmatic inte
48.
▲
by
csswizardry
6y ago
It actually wasn’t a deliberate inclusion—I didn’t give it any thought, largely because it makes no difference and isn’t relevant to the topic of the article. Hopefully readers feel empowered enough to delete their own forward-slashes.
49.
▲
by
csswizardry
6y ago
Stylesheets are different story to images. Stylesheets (that match a media type) are render-blocking whereas images are not. Lowering the priority of a non-matching stylesheet but still downloading it is a better option than JIT loading one
50.
▲
by
csswizardry
6y ago
You can detect print very, very easily. I helped the NHS track print-users using this: https://csswizardry.com/2018/03/measuring-the-hard-to-measur... Note that we can’t use `background-image: url();` here as brow
51.
▲
by
csswizardry
6y ago
Fonts have versions, too; adding them all to the browser would be nigh on impossible.
52.
▲
by
csswizardry
6y ago
OP here: Important point is that it’s the file’s onload event and not the window’s onload event that we’re listening for.
53.
▲
by
csswizardry
6y ago
> The whole thing is a dubious technique anyway because it depends on JavaScript—if JavaScript is disabled… I address this twice in the article, which presumably you didn’t read. > P.S. Why the trailing slash on the tag? It’s complete
54.
▲
by
csswizardry
6y ago
OP here: Simply because the only mechanism a browser needs is ‘a currently-matching media type’ or ‘not a currently-matching media type’. There is no need to add further checks for a specific media type; that would lead to added and potenti
55.
▲
by
csswizardry
6y ago
I know how browsers work, but thanks. The tool you linked does not solve the same problem, as the problems isn’t file types but URIs. Google is able to provide the tiniest possibly font files by hinting them for the specific browser/pl
56.
▲
by
csswizardry
6y ago
OP here. Cross-domain caching is a myth[1] so reusing font files won’t work. In fact, it’s literally impossible in Safari[2] and soon to be made impossible in Chrome[3]. 1. https://csswizardry.com/2019/05/self-host
57.
▲
by
csswizardry
6y ago
I did say right there in the article: > On this site, in which performance is the only name of the game, I forgo web fonts entirely, opting instead to make use of the visitor’s system font. This is fast, incredibly well suited to the dev
58.
▲
by
csswizardry
6y ago
Thanks for the feedback!
59.
▲
by
csswizardry
6y ago
Thanks! Though GTMetrix hasn’t been considered a reliable or relevant tool for a while now, unfortunately.
60.
▲
by
csswizardry
6y ago
OP here. Inlining CSS won’t work as the request is UA-sniffed.
More ›