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

> with all CSS and important JS built in

If your page is anything over a few KB in size you are really messing up then. Break CSS and JS into separate files so the browser can cache them and doesn't have to ask for them every single time the page is reloaded.



Often times its better to write them all inline - - if they are small of course. At least with http.

Http2 is different story.




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

Search: