Creating a controller object from a refrencse.

rails is so called "shared nothing" and the only valuable cache storage options you have is the session, which serializes the objects you have associated with it and the DB. Since each request might be catched by an another mongrel / rails instance, you can't cache objects in controller instances or class variables.