News for hackers. Stuff that matters.
Re:My Current HTML Boilerplate by mattmanser on Wednesday April 28, 2021 @07:10AM (#26968020)
I generally recommend a small @media print { … } block in your existing stylesheet, rather than a separate print stylesheet file

Does it really matter anymore with HTTP2?

Re:My Current HTML Boilerplate by collinmanderson on Wednesday April 28, 2021 @04:31PM (#26973814)
Chrome is considering removing HTTP2's push feature. I use it on my websites when there's not a same-origin referrer, but apparently not many other websites use it. It's really only useful if your html + css is less than ~14000 bytes. I know it causes a lot of confusing cache issues in some cases though. The alternative "103 Early Hints" doesn't look very useful to me because it still requires a full round trip time.

https://www.chromestatus.com/feature/6302414934114304

https://groups.google.com/a/chromium.org/g/blink-dev/c/K3rYL...

Not sure if HTTP2 push is what you're referring to.