Consider using something like https://github.com/leoantony72/goswift to persist S3 cache. Benefit might be limited, given that this cache MUST have a short TTL.