Make S3 caching an option for server