performance improvements by using rails object caches