Adding caching to album and image models