add s3 caching back in