Added cache for images