varun
Improving site speed is a broad topic, and there would be other stuff on the server-side too where improvements can be made, like cached queries and using "prepared statements" to optimize the SQL.
1. Concatenate your JS and CSS files. Don't send out several files over the wire to the browser - the browser can only make 2 connections at a time. Be careful about JS dependencies - order is imp. in JS.
2. Minify and then compress the JS and CSS. Use Dojo's Shrinksafe or the YUI Compressor to do this. It will strip out whitespace, etc - make the code smaller in size (In JS, every byte counts) and compress.
3. Now gzip the above. (Paul's article talks only about gzipping - if you do the above 2 steps as well, you'd improve the performance a lot more).
Write an Ant script to automate all the above on code commit and you are done. Try other methods like loading other elements in the background or after a tab etc is clicked - important to show something to the user almost instantly. Did this for Alertle.com, which was a 100% AJAX web app (no page refresh at all), and the initial size of the code being sent to the browser went from 700k to about 20k using the steps above :)
Oprah hasn't even tweeted once and already has about 60,000 followers!
So thanks to the YC process itself, we NOW have a presentation deck ready and a demo and can charge full steam ahead regardless. YC for us would have been a nice-to-have, not essential. We have a fairly interesting idea and a background which included two of us having founded startups in the recent past (one of them being www.alertle.com - check it out for UI design), being speakers of Ruby on Rails and AJAX at conferences, and work experience at other startups and places like Merrill Lynch. And of course, a CS background. We didn't even get an interview.
I'm assuming the calibre of teams accepted would have been pretty extraordinary this year. Good luck to all! :)
Btw, Alertle is a completely single page application - can call it '100% AJAX'. Demos still available at: http://varunmathur.net/post/83802002/alertle-current-status
We loved the product we were building, so that kept us going. For geeks/hackers, the primary motivation is to build something they like, instead of $$. The money is incidental and its easy to get carried away with the 'product'. Some of us ended up working 7 days a week, 15 hrs a day on it. 4am everyday (and partly because some team members were in India). I think the frenetic pace, esp. is startups is natural and a good thing, but the key is to work smart - not just hard.
The experience has made me ask to myself almost every time I see a cool web app - 'ok, but how will it make money ?', and if it can't, then it would not be more than a short-lived dream for its founders and backers.
Never got to test that theory out, because even if enough people wanted the product, the business model around it is something which we haven't been able to figure out. We have the product's version 2.0 sitting ready (substantial updates from whats visible in ver1.0 demos) but we do not see a clear exit yet, so are hesitant to launch it. Being blogged about major tech blogs (from Lifehacker, Mashable, etc), some folks loving it around the world and writing reviews in ~ dozen languages - we already got that love. If we stayed out in the market more - we'd probably get more 'love'. But 'love' can only keep the servers humming for so long :)
- Varun www.homecamera.com