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

My current project has 30 directories with 73 partial Sass files, which compile down to one 320kb file.

Isn't that a lot to download? That's like 2 seconds on average to download that file in the U.S., and probably in the 10 seconds or higher range for a lot of folks. I guess if the download is delayed to after some kind of engagement (sign up, etc) it's not a big deal?

Is 320K of CSS really necessary? (legitimately asking)



IMHO, it's not.

I'm working on a few relatively complex web apps where the CSS download time don't come to anywhere near that size. In my world (mobile devices, in particular) 320k would be totally unacceptable. 100k is about the point where I start re-evaluating my design.


320K is a lot, no question. This project hasn't been released to public yet, and there are areas to optimize.

Keep in mind that this only 42k gzipped.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: