Made pdf caching actually work (could be improve with multipart upload on S3 instead of pu object)