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

I think this quote should have been a headline as opposed to an easily missable list item

'80-90% of the end-user response time is spent on the frontend, so it makes sense to concentrate efforts there before heroically rewriting the backend.'



Additionally, and this is a point often made by the YSlow guys (I am full of fanboy worship for them since they have made me thousands): Optimizing the black end is black magic full of interventions that you're never quite sure will work until you try them (and sometimes not even then), but optimizing the front end is a science. Front end best practices can be objectively demonstrated to work and they are repeatable.

Example: if your site loads 3 CSS files, and you combine them into 1 CSS file, you will experience performance increases. Period. If you do not gzip your HTML/Javascript/CSS yet, and you are not making a pathological example site just to prove me wrong, you will experience (probably significant!) performance increases. If you increase the number of static assets you load in parallel (for example, by splitting static assets over 2 additional subdomains), you will see most browsers have significant, automatic performance increases for pages that load non-trivial amounts of static assets. etc, etc


What is done in that 80-90%, and how do you optimize it?


Watch the YSlow guys and be enlightened. Everything they produce about the subject (and I don't just mean the plugin) is solid gold. They are easily the best "Follow these simple directions and you will make money" technical material I've ever seen.

video of talk: http://www.youtube.com/watch?v=BTHvs3V8DBA

slides of another: http://www.slideshare.net/stoyan/high-performance-web-pages-...


sorry way away, yeh the yslow stuff is really good, the new google tool is also handy although not particularly different.

http://developer.yahoo.com/yui/theater/ - also has a series of good website performance videos


Get the two Souders (creator of YSlow, now works on web performance at Google) books, which are amazing. I'm not affiliated with Amazon.com, O'Reilly or Yahoo!; just like Patrick says, these guys know their shit:

High Performance Web Sites (O'Reilly, Sept. 2007): http://www.amazon.com/High-Performance-Web-Sites-Essential/d...

Even Faster Web Sites (O'Reilly, June 2009): http://www.amazon.com/Even-Faster-Web-Sites-Performance/dp/0...

Half of King's 'Website Optimization: Speed, Search Engine & Conversion Rate Secrets' (O'Reilly, July 2008) is devoted to performance, so it's also worth a look: http://www.amazon.com/Website-Optimization-Search-Conversion...




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

Search: