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

    which saves the extra HTTP requests
The reason google does it is due to them wanting a fast single page load.

4chan reloads the the page on each click meaning you save a shitload of bandwidth by not having to send the scripts and css each time the page loads.



You're absolutely right, I was just sharing some other options. Given the way 4chan is currently built inlining all of the Javascript would not be beneficial over keeping it external and allowing the browser to cache it.




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

Search: