S3 naming for large amount of different sizes of photos [closed]
Clash Royale CLAN TAG#URR8PPP
S3 naming for large amount of different sizes of photos [closed]
My goal is to create naming that is predictable and searchable to a certain degree. Idea is to create small images processing service that would be accessed via URL which would contain the image ID and params for image manipulation like width, height, max, and other than sharp lib is able to process.
I have original previews stored in a different bucket which will not be processed by the service, but there will be many sizes of this photo and I'm having doubts on naming.
From a security point of view they will not be publicly available so one of the options was to calculate md5hash of the requested location, it doesn't exist create if does return, but that would be quite tedious to translate to URL (I still have original URL, be let's say I don't, there is no way to know anything about the file by its name.
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.