I am trying to design a site using Flask for a store and need to serve the customers with lots of product pictures.
I came across this stack overflow answer that said:
In production, you don't want to serve static files using the flask server. I suggest you use a proper web server to do that
What does a "proper web server" mean and how does one set that up?
Currently, I have the images served like this - example:
<img class="d-block w-100" src="{{url_for('static', filename='/images/prducts/full/1.jpg' )}}" alt="First slide">
<img class="d-block w-100" src="{{url_for('static', filename='/images/prducts/full/2.jpg' )}}" alt="Second slide">