Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The GIF is 111 bytes. A CSS triangle might be smaller, but it's probably not much of a win.


While 111 bytes is small, it is actually 111 bytes + size of the image HTML tag (82 bytes) = 193. When I checked (at 08:08 PST on Friday) there were 163 instances of the image tag in the code. That means that the way it is today 11 bytes the first time and 13,366 (82 * 163) bytes of extra HTML every time. If we changed it to the unicode character if would be 163 * 2 (2 bytes for the unicode character) which is 326. 326 is way less than the 13,366 bytes currently being served.




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

Search: