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

Your server serving up tons of code that is not being used at all?


That would assume the user is only going to view one page. If they look at several pages then it'd be better to have sent all the CSS necessary in the first request and have their browser cache it.

If you only send the styles necessary for the page they're looking at then you lose all the benefits of caching. That's a far bigger problem than sending a bunch of unused code.




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

Search: