Comment

Comment by btrettel

Practically speaking these optimizations won't make much of a difference, but I still find them interesting. I have been keeping a list of similar optimizations. Here are some not in the linked article:

- Use relative URLs when possible, i.e., /page.html, no need to specify the protocol.

- Use shorthand CSS properties like font, background, margin, border, padding, and list.

- Use lowercase tags as they compress better. See: https://encode.su/threads/1889-gzthermal-pseudo-thermal-view...

- Use shorthand hex colors.

These optimizations are harmless compared against some of the ones recommended in the linked article...

parent btrettel 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton