Currently we generate a new signed URL for every image on every request. This is inefficient. We should generate URI's that expire on S3 in 6 hours and place those URI's in redis or something and have them expire in 5.5 hours ( just to be safe ) This means that most of the time we will be returning the same URI until change over is required.
Currently we generate a new signed URL for every image on every request. This is inefficient. We should generate URI's that expire on S3 in 6 hours and place those URI's in redis or something and have them expire in 5.5 hours ( just to be safe ) This means that most of the time we will be returning the same URI until change over is required.