Hacker News new | past | comments | ask | show | jobs | submit login

Why not eliminate quotes in production, if you know the value doesn't need quotes? That's still valid, it's optional HTML: https://meiert.com/en/blog/optional-html/

Sorting content alphabetically and that sort of thing to improve compression may be silly code golfing and impractical for page content, but on the other hand I don't see that it costs you anything (aside from time experimenting with it) when applied to the <head> / metadata. https://www.ctrl.blog/entry/html-meta-order-compression.html

I think that both of these methods could be used in production, and I intend to do so when possible.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: