loading the images from aws via public links will be much faster than from your server.
Best way to store and serve images
I'm working on an app that needs to upload and store high quality images (probably around 10,000 in total). Many of these images are originally around 20-30mb in size which I can reduce significantly before storing but they still result in reasonable file sizes. They will appear in carousels (as part of a portfolio site) which will call the images dynamically - and I need to make the serving of the images as smooth as possible. So my question is how best to store and serve them? Spatie's medial library looks a very good option for uploading etc. Having looked at using AWS with cloudfront on the bucket it still appears to me that storing them in local storage will have much lower latency. Are there better options I'm missing? Thanks
Please or to participate in this conversation.