Retina support and image caching