Nepal on Rails

millisami's rants!

Learnibits #2

In this 2nd episode or my learnibits, its on HTTP caching and Node.js

HTTP caching

  1. First step in scaling a web site: HTTP caching

  2. Optimizing your Rails site with HTTP Caching

Note If you are going to deploy on heroku, then this might save some time.

Varnish is not available on Cedar stack. Use rack-cache and the memcache add-on for in-app caching instead. See HTTP routing for details.

Node.js

  1. Getting started with Node.js, npm, Coffeescript, Express, Jade and Redis
  2. Creating a nodejs app that uses Mongodb and deploying to CloudFoundry
  3. Socket.io, creating websocket utilizing app library in Nodejs