caching S3 content_length API call in #eof?